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.001437/0.001437, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001781/0.001781, allocations: 172.9 kB / 24.82 MB, free: 8.879 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.9738/0.9738, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.773e-06/1.773e-06, allocations: 0 / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.569e-05, allocations: 6.25 kB / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002944/0.00297, allocations: 1.677 MB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002716/0.003241, allocations: 71.66 kB / 275.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.863e-05/0.00331, allocations: 0 / 275.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.003415, allocations: 15.81 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.585e-05/0.003471, allocations: 19.91 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.003589, allocations: 11.98 kB / 275.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.003702, allocations: 71.64 kB / 275.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.003802, allocations: 15.94 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.185e-05/0.003874, allocations: 43.89 kB / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.922e-05/0.003943, allocations: 15.92 kB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.003961, allocations: 4 kB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.003974, allocations: 8 kB / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.003995, allocations: 11.97 kB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.004027, allocations: 23.94 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.004144, allocations: 43.88 kB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.004147, allocations: 7.938 kB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004148, allocations: 0 / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.004151, allocations: 0 / 275.4 MB, free: 15.25 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.0003644/0.004516, allocations: 388.4 kB / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.004555, allocations: 12.03 kB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.004591, allocations: 12.89 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.004722, allocations: 128.5 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.004734, allocations: 12.38 kB / 276 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.004754, allocations: 4.375 kB / 276 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.65e-05/0.004851, allocations: 58.17 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.004862, allocations: 8.172 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.00487, allocations: 384 / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.004876, allocations: 384 / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.365e-05/0.004919, allocations: 23.91 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.005384, allocations: 335.4 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.389e-05/0.005458, allocations: 51.03 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.005482, allocations: 19.61 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-06/0.00549, allocations: 8 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.005513, allocations: 37.39 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.005515, allocations: 3.938 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004855/0.006, allocations: 336.3 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.006032, allocations: 55.41 kB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.954e-05/0.006121, allocations: 165.9 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.006133, allocations: 29.7 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.006194, allocations: 146.6 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.00622, allocations: 35.69 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.006263, allocations: 35.36 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.006394, allocations: 0.4923 MB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/0.006415, allocations: 8 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.342e-05/0.006468, allocations: 70.11 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.308e-05/0.006551, allocations: 89.97 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.006554, allocations: 3.938 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001344/0.006688, allocations: 97.56 kB / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.006702, allocations: 8 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006707, allocations: 0 / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.00672, allocations: 4 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.439e-05/0.006794, allocations: 23.92 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.006799, allocations: 4 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.408e-05/0.006833, allocations: 0 / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.00684, allocations: 4.141 kB / 278.1 MB, free: 12.27 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 7.719e-05/0.006918, allocations: 172.4 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.006948, allocations: 7.984 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.006979, allocations: 16.47 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.006985, allocations: 4 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.006987, allocations: 0 / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.00699, allocations: 0 / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.007387, allocations: 388.1 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.007391, allocations: 4 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.699e-05/0.007458, allocations: 20 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.007462, allocations: 4 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.00747, allocations: 4.156 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.007474, allocations: 7.984 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.007475, allocations: 0 / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.007686, allocations: 278.2 kB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.007698, allocations: 7.953 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.007712, allocations: 8 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.93e-05/0.007772, allocations: 0 / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.007792, allocations: 11.92 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.007798, allocations: 4 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.618e-05/0.007845, allocations: 128.4 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007845, allocations: 4.031 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002447/0.008089, allocations: 12 kB / 279.1 MB, free: 11.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.388e-05/0.008183, allocations: 107.2 kB / 279.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.008286, allocations: 47.59 kB / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.008288, allocations: 0 / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.323e-05/0.008321, allocations: 35.55 kB / 279.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.008631, allocations: 16.48 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.009096, allocations: 304.9 kB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.297e-05/0.009139, allocations: 59.34 kB / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.123e-05/0.00917, allocations: 4.5 kB / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.009226, allocations: 82.14 kB / 279.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009227, allocations: 0 / 279.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of Templates: time 0.002664/0.01189, allocations: 0.717 MB / 280.5 MB, free: 9.676 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.614080331288278]