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.001287/0.001287, allocations: 68.08 kB / 21.24 MB, free: 404 kB / 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.001375/0.001375, allocations: 156.5 kB / 24.48 MB, free: 3.461 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.42/1.42, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.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.001505/0.001505, allocations: 52.81 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/0.091, allocations: 52.16 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002927/0.09393, allocations: 1.622 MB / 373.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002382/0.09417, allocations: 71.72 kB / 373.2 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.669e-05/0.09422, allocations: 0 / 373.2 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.02e-05/0.09431, allocations: 7.922 kB / 373.3 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.502e-05/0.09437, allocations: 19.8 kB / 373.3 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.09448, allocations: 19.97 kB / 373.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.09461, allocations: 63.73 kB / 373.4 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.09471, allocations: 23.86 kB / 373.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.236e-05/0.09476, allocations: 23.92 kB / 373.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.09482, allocations: 19.92 kB / 373.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.09483, allocations: 4 kB / 373.4 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.794e-05/0.09485, allocations: 7.938 kB / 373.4 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.09487, allocations: 11.98 kB / 373.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.09491, allocations: 23.88 kB / 373.5 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.09504, allocations: 67.72 kB / 373.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.09504, allocations: 0 / 373.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09504, allocations: 0 / 373.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.09505, allocations: 4 kB / 373.5 MB, free: 5.359 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.0004708/0.09552, allocations: 290.2 kB / 373.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.09555, allocations: 8.922 kB / 373.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.09558, allocations: 8.891 kB / 373.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.09578, allocations: 126.4 kB / 374 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.09579, allocations: 4.375 kB / 374 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.09582, allocations: 12.38 kB / 374 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.09596, allocations: 65.89 kB / 374 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.09598, allocations: 8.141 kB / 374.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.09599, allocations: 7.938 kB / 374.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.09599, allocations: 0 / 374.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.824e-05/0.09607, allocations: 39.92 kB / 374.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.09664, allocations: 303.5 kB / 374.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.09676, allocations: 54.56 kB / 374.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.648e-05/0.09679, allocations: 20.84 kB / 374.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.0968, allocations: 0 / 374.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.09683, allocations: 38.56 kB / 374.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.09683, allocations: 0 / 374.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006856/0.09751, allocations: 383.1 kB / 374.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.09755, allocations: 55.41 kB / 374.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.905e-05/0.09764, allocations: 105.8 kB / 375 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.09766, allocations: 29.7 kB / 375.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.09772, allocations: 95.98 kB / 375.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.09776, allocations: 35.69 kB / 375.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.0978, allocations: 25.72 kB / 375.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.09794, allocations: 322.8 kB / 375.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.535e-05/0.09798, allocations: 16 kB / 375.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.452e-05/0.09805, allocations: 65.14 kB / 375.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.09817, allocations: 89.08 kB / 375.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.09817, allocations: 3.938 kB / 375.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001717/0.09834, allocations: 113.5 kB / 375.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.09836, allocations: 7.938 kB / 375.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.09836, allocations: 4 kB / 375.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.09838, allocations: 3.984 kB / 375.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.09847, allocations: 24.09 kB / 375.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.09847, allocations: 0 / 375.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.035e-05/0.09851, allocations: 4 kB / 375.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.09853, allocations: 11.92 kB / 375.9 MB, free: 2.762 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 9.155e-05/0.09862, allocations: 121.8 kB / 376 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.09864, allocations: 4 kB / 376 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.09867, allocations: 8.438 kB / 376 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.09868, allocations: 0 / 376 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.09869, allocations: 4 kB / 376 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.09869, allocations: 0 / 376 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.09916, allocations: 350.3 kB / 376.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.09916, allocations: 0 / 376.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-05/0.09926, allocations: 23.92 kB / 376.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.09926, allocations: 4 kB / 376.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.09927, allocations: 3.938 kB / 376.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.09928, allocations: 4 kB / 376.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.09928, allocations: 0 / 376.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.09953, allocations: 232 kB / 376.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.09955, allocations: 12.11 kB / 376.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.09957, allocations: 11.86 kB / 376.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.09964, allocations: 4 kB / 376.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.09966, allocations: 11.94 kB / 376.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.09967, allocations: 4 kB / 376.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.265e-05/0.09972, allocations: 87.27 kB / 376.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09972, allocations: 0 / 376.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.09998, allocations: 16 kB / 376.8 MB, free: 1.781 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.0001094/0.1001, allocations: 99.19 kB / 376.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.1002, allocations: 67.84 kB / 376.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1002, allocations: 4 kB / 376.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.031e-05/0.1003, allocations: 23.94 kB / 376.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.1006, allocations: 17.33 kB / 377 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006071/0.1012, allocations: 344 kB / 377.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.947e-05/0.1013, allocations: 75.33 kB / 377.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.128e-05/0.1013, allocations: 8.5 kB / 377.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.1013, allocations: 12.5 kB / 377.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1013, allocations: 0 / 377.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of Templates: time 0.003054/0.1044, allocations: 0.62 MB / 378 MB, free: 476 kB / 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 -s ida -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: 4.225560897029936]