Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009351/0.0009351, allocations: 95.67 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 168.7 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1818/0.1818, allocations: 44.24 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 13.41 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1026, allocations: 61.93 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002527/0.1051, allocations: 1.769 MB / 474 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000801/0.106, allocations: 0.5222 MB / 474.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.1061, allocations: 7.938 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.1062, allocations: 7.922 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.1063, allocations: 43.62 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.1066, allocations: 63.91 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.1068, allocations: 187.1 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1069, allocations: 37.48 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1071, allocations: 79.69 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1072, allocations: 75.67 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.1073, allocations: 8 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.47e-05/0.1073, allocations: 8 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.235e-05/0.1073, allocations: 27.84 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.051e-05/0.1074, allocations: 97.34 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.1076, allocations: 175.6 kB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1076, allocations: 0 / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1076, allocations: 0 / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.1076, allocations: 0 / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007009/0.1083, allocations: 437.2 kB / 475.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1084, allocations: 8.031 kB / 475.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.1084, allocations: 20.73 kB / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1087, allocations: 218.2 kB / 476 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1087, allocations: 8.375 kB / 476 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.1087, allocations: 16.12 kB / 476 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.1091, allocations: 169.6 kB / 476.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1091, allocations: 3.938 kB / 476.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.1091, allocations: 8 kB / 476.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1091, allocations: 0 / 476.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.1094, allocations: 116.6 kB / 476.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008368/0.1103, allocations: 0.7016 MB / 477 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.1107, allocations: 150.5 kB / 477.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.1108, allocations: 68.83 kB / 477.3 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1109, allocations: 7.938 kB / 477.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.1109, allocations: 34.56 kB / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.1109, allocations: 0 / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001344/0.1123, allocations: 443.9 kB / 477.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.1123, allocations: 59.41 kB / 477.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.1124, allocations: 150.2 kB / 477.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.1125, allocations: 25.7 kB / 478 MB, free: 7.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.1125, allocations: 124.3 kB / 478.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.1126, allocations: 67 kB / 478.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.1127, allocations: 21.7 kB / 478.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1128, allocations: 334.8 kB / 478.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.113, allocations: 67.95 kB / 478.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.1132, allocations: 119.3 kB / 478.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.1136, allocations: 189.7 kB / 478.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1136, allocations: 4 kB / 478.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000497/0.1141, allocations: 237.3 kB / 479.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1142, allocations: 10.64 kB / 479.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1142, allocations: 0 / 479.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.1142, allocations: 4 kB / 479.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.1145, allocations: 47.97 kB / 479.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1145, allocations: 7.938 kB / 479.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.1147, allocations: 24.08 kB / 479.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.1147, allocations: 4 kB / 479.2 MB, free: 6.117 MB / 350.1 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 (23): * Single equations (assignments): 23 * 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.000114/0.1148, allocations: 137.7 kB / 479.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.1149, allocations: 15.89 kB / 479.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.1149, allocations: 21.19 kB / 479.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1149, allocations: 4 kB / 479.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1149, allocations: 0 / 479.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1149, allocations: 0 / 479.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.116, allocations: 0.6513 MB / 480 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.116, allocations: 0 / 480 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.1162, allocations: 47.97 kB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1163, allocations: 7.938 kB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1163, allocations: 0 / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1163, allocations: 4 kB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1163, allocations: 0 / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.1168, allocations: 329.9 kB / 480.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/0.1169, allocations: 104.9 kB / 480.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.117, allocations: 3.938 kB / 480.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.1172, allocations: 19.98 kB / 480.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/0.1172, allocations: 11.97 kB / 480.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.1173, allocations: 8 kB / 480.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.542e-05/0.1173, allocations: 128 kB / 480.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1174, allocations: 4 kB / 480.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.1176, allocations: 36 kB / 480.7 MB, free: 4.496 MB / 350.1 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 (20): * Single equations (assignments): 20 * 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.0001401/0.1178, allocations: 95.78 kB / 480.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004731/0.1182, allocations: 192 kB / 481 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1183, allocations: 0 / 481 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.1185, allocations: 97.78 kB / 481.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.1188, allocations: 16 kB / 481.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007309/0.1196, allocations: 489.3 kB / 481.6 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.1198, allocations: 0.7211 MB / 482.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.12, allocations: 33.41 kB / 482.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.716e-05/0.1201, allocations: 19.42 kB / 482.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1201, allocations: 0 / 482.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of Templates: time 0.004429/0.1245, allocations: 1.837 MB / 484.2 MB, free: 0.9648 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches