Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.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.001111/0.001111, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.002597, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001121/0.001121, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001403/0.002525, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9626/0.9626, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08374/1.046, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2835/0.2835, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0285/0.312, allocations: 13.09 MB / 291.3 MB, free: 7.387 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.101e-05, allocations: 3.078 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002467/0.002488, allocations: 2.149 MB / 294.8 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008264/0.003314, allocations: 0.612 MB / 295.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.748e-05/0.003402, allocations: 0 / 295.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.499e-05/0.003467, allocations: 27.78 kB / 295.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.686e-05/0.003554, allocations: 39.58 kB / 295.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.003792, allocations: 87.73 kB / 295.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.004024, allocations: 183.2 kB / 295.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.004145, allocations: 38.42 kB / 295.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.004375, allocations: 123.7 kB / 295.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.004496, allocations: 67.78 kB / 295.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.004521, allocations: 16 kB / 296 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.966e-05/0.004591, allocations: 20 kB / 296 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.004613, allocations: 19.94 kB / 296 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.004655, allocations: 43.88 kB / 296 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.004833, allocations: 111.6 kB / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.488e-05/0.004848, allocations: 0 / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004849, allocations: 0 / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.004863, allocations: 4 kB / 296.1 MB, free: 2.77 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005744/0.005437, allocations: 385.3 kB / 296.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.005471, allocations: 12.62 kB / 296.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.005639, allocations: 106 kB / 296.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.005814, allocations: 154 kB / 296.8 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.005826, allocations: 4.609 kB / 296.8 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.005852, allocations: 16.38 kB / 296.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.00606, allocations: 202.4 kB / 297 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.006073, allocations: 7.922 kB / 297 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.006086, allocations: 4 kB / 297 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.006093, allocations: 7.938 kB / 297 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.202e-05/0.006165, allocations: 40.64 kB / 297.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.006618, allocations: 483.5 kB / 297.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.006739, allocations: 86.47 kB / 297.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.415e-05/0.006773, allocations: 30.61 kB / 297.7 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.00679, allocations: 0 / 297.7 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.006812, allocations: 34.56 kB / 297.7 MB, free: 1.082 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.006813, allocations: 0 / 297.7 MB, free: 1.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004771/0.00729, allocations: 240.2 kB / 297.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.007318, allocations: 51.41 kB / 298 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.928e-05/0.007407, allocations: 156.9 kB / 298.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.007425, allocations: 29.7 kB / 298.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.007483, allocations: 116.4 kB / 298.3 MB, free: 476 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.00753, allocations: 67.42 kB / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.007583, allocations: 37.69 kB / 298.4 MB, free: 364 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.007677, allocations: 326.8 kB / 298.7 MB, free: 28 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.007712, allocations: 19.98 kB / 298.7 MB, free: 8 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.001e-05/0.007782, allocations: 51.41 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.698e-05/0.007869, allocations: 97.66 kB / 298.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.00787, allocations: 0 / 298.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001257/0.007996, allocations: 113.5 kB / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.008008, allocations: 7.938 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.008016, allocations: 8 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.008025, allocations: 0 / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.00824, allocations: 56.05 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.008244, allocations: 8 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.008295, allocations: 4 kB / 299.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.008307, allocations: 11.98 kB / 299.1 MB, free: 15.63 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 22 * 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.351e-05/0.00838, allocations: 125.7 kB / 299.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.008407, allocations: 15.98 kB / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.008443, allocations: 21.12 kB / 299.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.008447, allocations: 4 kB / 299.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.00845, allocations: 0 / 299.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.008452, allocations: 0 / 299.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.00883, allocations: 377.5 kB / 299.6 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.008832, allocations: 0 / 299.6 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.008971, allocations: 43.97 kB / 299.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.009015, allocations: 19.89 kB / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.00902, allocations: 0 / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.009037, allocations: 11.94 kB / 299.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.00904, allocations: 0 / 299.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.009043, allocations: 0 / 299.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.00921, allocations: 213.3 kB / 299.9 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.009225, allocations: 0 / 299.9 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.753e-05/0.009302, allocations: 11.98 kB / 299.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.009347, allocations: 23.91 kB / 299.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.009355, allocations: 0 / 299.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.954e-05/0.009385, allocations: 31.88 kB / 299.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009385, allocations: 0 / 299.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001447/0.00953, allocations: 40 kB / 300 MB, free: 14.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (19): * Single equations (assignments): 19 * 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 8.337e-05/0.009613, allocations: 80.41 kB / 300.1 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.009743, allocations: 95.09 kB / 300.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.009751, allocations: 4 kB / 300.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.056e-05/0.009802, allocations: 48.73 kB / 300.2 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.00998, allocations: 39.98 kB / 300.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.0115, allocations: 370.3 kB / 300.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.431e-05/0.01155, allocations: 72.58 kB / 300.7 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.742e-05/0.01164, allocations: 21.48 kB / 300.7 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.01176, allocations: 83.34 kB / 300.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01177, allocations: 0 / 300.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of Templates: time 0.003988/0.01575, allocations: 2.22 MB / 303 MB, free: 11.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.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.879635409452021]