Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009805/0.0009805, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009038/0.0009038, allocations: 170.3 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9906/0.9906, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 3.938 kB / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.334e-05, allocations: 6.312 kB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002109/0.002132, allocations: 1.681 MB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002161/0.002348, allocations: 71.72 kB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.002418, allocations: 7.938 kB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.318e-05/0.002511, allocations: 11.88 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.714e-05/0.002559, allocations: 15.84 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.887e-05/0.002657, allocations: 19.91 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.389e-05/0.002751, allocations: 71.66 kB / 275.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.699e-05/0.002838, allocations: 8 kB / 275.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.519e-05/0.002893, allocations: 43.89 kB / 275.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.002961, allocations: 15.92 kB / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.00298, allocations: 8 kB / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.002991, allocations: 8 kB / 275.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.003011, allocations: 15.97 kB / 275.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.003033, allocations: 19.94 kB / 275.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.003137, allocations: 47.81 kB / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.003139, allocations: 0 / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00314, allocations: 0 / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.003143, allocations: 0 / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002926/0.003436, allocations: 264.8 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.003466, allocations: 8.031 kB / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.003494, allocations: 16.88 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.003609, allocations: 121.7 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.003617, allocations: 4.375 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.003638, allocations: 4.375 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.441e-05/0.003713, allocations: 65.55 kB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.003722, allocations: 4.172 kB / 276 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.003728, allocations: 384 / 276 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.003734, allocations: 4.375 kB / 276 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.162e-05/0.003766, allocations: 23.86 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.004119, allocations: 243.4 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.044e-05/0.004179, allocations: 46.53 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.673e-05/0.004196, allocations: 12.8 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.004204, allocations: 7.938 kB / 276.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.004224, allocations: 34.56 kB / 276.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.004225, allocations: 0 / 276.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004315/0.004656, allocations: 335.3 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.004683, allocations: 55.41 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.358e-05/0.004736, allocations: 114.7 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.004748, allocations: 29.7 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.004784, allocations: 99.92 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.004801, allocations: 31.72 kB / 277 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.004836, allocations: 25.72 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.422e-05/0.004911, allocations: 322.8 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.004922, allocations: 8 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.004956, allocations: 57.06 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.492e-05/0.005011, allocations: 69.05 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.005012, allocations: 0 / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.629e-05/0.005098, allocations: 81.48 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.005111, allocations: 11.98 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.005115, allocations: 0 / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.005128, allocations: 7.938 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.192e-05/0.00518, allocations: 19.94 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.005185, allocations: 7.984 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/0.005206, allocations: 8.094 kB / 277.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.005211, allocations: 4 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.005264, allocations: 113.8 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.005279, allocations: 7.938 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.005301, allocations: 8.438 kB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.005303, allocations: 7.938 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.005306, allocations: 3.984 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005308, allocations: 0 / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.005572, allocations: 290.8 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.005575, allocations: 4 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.005619, allocations: 19.94 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.005622, allocations: 0 / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.005629, allocations: 7.984 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.005631, allocations: 0 / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.005633, allocations: 4 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.005777, allocations: 199.7 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.005789, allocations: 7.984 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.005803, allocations: 4.125 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/0.005862, allocations: 4 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.005882, allocations: 15.92 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.005887, allocations: 4 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.884e-05/0.005906, allocations: 14.02 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.005906, allocations: 0 / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.006144, allocations: 20 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.443e-05/0.006238, allocations: 80.36 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.905e-05/0.006337, allocations: 57.09 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.006342, allocations: 4.062 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.017e-05/0.006372, allocations: 20.8 kB / 278.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.006612, allocations: 15.98 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004464/0.007059, allocations: 269 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.73e-05/0.007106, allocations: 63.34 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.92e-05/0.007135, allocations: 12.42 kB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.007177, allocations: 59.38 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.007177, allocations: 0 / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of Templates: time 0.002182/0.00936, allocations: 0.7158 MB / 279.6 MB, free: 10.77 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.778473678044975]