Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 186.8 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.7 MB / 253.3 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 48.02 kB / 371.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2411, allocations: 52.17 MB / 423.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003163/0.2442, allocations: 1.639 MB / 425.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002427/0.2445, allocations: 59.73 kB / 425.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.2446, allocations: 4 kB / 425.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.896e-05/0.2447, allocations: 11.94 kB / 425.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.484e-05/0.2447, allocations: 19.84 kB / 425.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.2448, allocations: 19.91 kB / 425.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.245, allocations: 63.73 kB / 425.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2451, allocations: 15.78 kB / 425.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.966e-05/0.2451, allocations: 27.86 kB / 425.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/0.2452, allocations: 27.86 kB / 425.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.2452, allocations: 4 kB / 425.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.2452, allocations: 4 kB / 425.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.2452, allocations: 11.98 kB / 425.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.2453, allocations: 31.86 kB / 425.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.2454, allocations: 66.88 kB / 425.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2454, allocations: 0 / 425.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2454, allocations: 0 / 425.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2454, allocations: 0 / 425.8 MB, free: 12.61 MB / 334.1 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.0004524/0.2459, allocations: 290.1 kB / 426.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2459, allocations: 8.031 kB / 426.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.2459, allocations: 8.891 kB / 426.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.2462, allocations: 118.5 kB / 426.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2462, allocations: 12.38 kB / 426.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.2462, allocations: 4.375 kB / 426.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.2464, allocations: 74.17 kB / 426.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.2464, allocations: 4.141 kB / 426.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.2464, allocations: 7.938 kB / 426.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2464, allocations: 0 / 426.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.487e-05/0.2465, allocations: 39.97 kB / 426.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.2471, allocations: 307.3 kB / 426.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.2472, allocations: 50.56 kB / 426.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.2472, allocations: 16.86 kB / 426.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.2473, allocations: 8 kB / 426.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.2473, allocations: 34.5 kB / 426.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.2473, allocations: 0 / 426.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007198/0.248, allocations: 371.1 kB / 427.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.2481, allocations: 51.41 kB / 427.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.377e-05/0.2482, allocations: 111.1 kB / 427.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.2482, allocations: 25.7 kB / 427.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.2482, allocations: 99.92 kB / 427.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.2483, allocations: 43.69 kB / 427.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.2483, allocations: 25.7 kB / 427.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2485, allocations: 322.8 kB / 427.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.966e-05/0.2485, allocations: 23.98 kB / 427.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.834e-05/0.2486, allocations: 53.14 kB / 427.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.2487, allocations: 89.08 kB / 428 MB, free: 10.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2487, allocations: 0 / 428 MB, free: 10.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001773/0.2489, allocations: 117.5 kB / 428.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2489, allocations: 11.28 kB / 428.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2489, allocations: 0 / 428.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2489, allocations: 4 kB / 428.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.249, allocations: 27.98 kB / 428.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.249, allocations: 0 / 428.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.2491, allocations: 4 kB / 428.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.2491, allocations: 7.938 kB / 428.1 MB, free: 10.03 MB / 334.1 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 0.000103/0.2492, allocations: 121.8 kB / 428.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.2492, allocations: 0 / 428.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.2492, allocations: 16.41 kB / 428.3 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2492, allocations: 0 / 428.3 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2492, allocations: 0 / 428.3 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2493, allocations: 0 / 428.3 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.2497, allocations: 354.2 kB / 428.6 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2497, allocations: 0 / 428.6 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.2499, allocations: 19.94 kB / 428.6 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.2499, allocations: 4 kB / 428.6 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2499, allocations: 4.094 kB / 428.6 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2499, allocations: 8.094 kB / 428.6 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2499, allocations: 3.938 kB / 428.6 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.2501, allocations: 223.7 kB / 428.9 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.2502, allocations: 15.97 kB / 428.9 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.2502, allocations: 7.938 kB / 428.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.61e-05/0.2503, allocations: 0 / 428.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.2503, allocations: 15.92 kB / 428.9 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2503, allocations: 7.938 kB / 428.9 MB, free: 9.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.452e-05/0.2503, allocations: 87.34 kB / 429 MB, free: 9.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2503, allocations: 0 / 429 MB, free: 9.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.2506, allocations: 20.06 kB / 429 MB, free: 9.035 MB / 334.1 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 0.0001127/0.2507, allocations: 99.25 kB / 429.1 MB, free: 8.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.2508, allocations: 59.84 kB / 429.2 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2508, allocations: 0 / 429.2 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/0.2509, allocations: 28.39 kB / 429.2 MB, free: 8.844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.2512, allocations: 24.42 kB / 429.2 MB, free: 8.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.2518, allocations: 361 kB / 429.6 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.817e-05/0.2519, allocations: 79.19 kB / 429.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.2519, allocations: 11.44 kB / 429.7 MB, free: 8.312 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2519, allocations: 0 / 429.7 MB, free: 8.312 MB / 334.1 MB Notification: Performance of Templates: time 0.002507/0.2545, allocations: 1 MB / 430.7 MB, free: 7.316 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.888250486925244]