Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002386/0.002386, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2074/0.2074, allocations: 46.11 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 86.41 kB / 417.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1058, allocations: 62.45 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.00326/0.1091, allocations: 2.063 MB / 482.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1101, allocations: 0.6 MB / 482.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.579e-05/0.1103, allocations: 4 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.1104, allocations: 23.73 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.245e-05/0.1105, allocations: 35.64 kB / 482.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.1109, allocations: 91.8 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1111, allocations: 179.4 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1113, allocations: 37.55 kB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1114, allocations: 91.69 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.1116, allocations: 75.67 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.1116, allocations: 16 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.289e-05/0.1117, allocations: 20 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.1117, allocations: 31.89 kB / 483.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.821e-05/0.1118, allocations: 83.52 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.112, allocations: 183.6 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.112, allocations: 0 / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.112, allocations: 0 / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.112, allocations: 0 / 483.6 MB, free: 1.668 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008323/0.1129, allocations: 463.1 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1129, allocations: 12.03 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.1131, allocations: 24.83 kB / 484.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.1133, allocations: 215.5 kB / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1133, allocations: 8.609 kB / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.1134, allocations: 20.12 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.1137, allocations: 161.8 kB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1137, allocations: 3.906 kB / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.1137, allocations: 8 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.046e-06/0.1138, allocations: 3.938 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.1141, allocations: 111.9 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008537/0.1149, allocations: 0.6808 MB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.1153, allocations: 138.6 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.1154, allocations: 56.83 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.1155, allocations: 3.938 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1155, allocations: 46.5 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.1155, allocations: 0 / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001353/0.1169, allocations: 403.6 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.1169, allocations: 59.41 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1171, allocations: 162.1 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.1171, allocations: 29.7 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.1172, allocations: 116.2 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/0.1172, allocations: 59.11 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-05/0.1173, allocations: 37.7 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1174, allocations: 330.8 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.1176, allocations: 67.95 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.1178, allocations: 103.3 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.1182, allocations: 167.4 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1182, allocations: 0 / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004977/0.1188, allocations: 219.7 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1188, allocations: 14.59 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1188, allocations: 0 / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1188, allocations: 0 / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.1191, allocations: 55.91 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1191, allocations: 7.875 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.1193, allocations: 11.98 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.1193, allocations: 8 kB / 487.3 MB, free: 13.66 MB / 366.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 (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 0.0001128/0.1195, allocations: 121.8 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.1195, allocations: 27.8 kB / 487.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.1196, allocations: 17.19 kB / 487.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1196, allocations: 3.938 kB / 487.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1196, allocations: 3.938 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1196, allocations: 0 / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000999/0.1206, allocations: 0.6239 MB / 488.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1206, allocations: 0 / 488.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.1209, allocations: 43.95 kB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1209, allocations: 0 / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1209, allocations: 4 kB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1209, allocations: 4 kB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.1209, allocations: 8 kB / 488.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.1214, allocations: 301.3 kB / 488.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.1215, allocations: 104.9 kB / 488.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.1216, allocations: 8 kB / 488.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.1218, allocations: 15.98 kB / 488.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.1218, allocations: 11.98 kB / 488.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.1219, allocations: 4 kB / 488.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.06e-05/0.122, allocations: 115.2 kB / 488.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.122, allocations: 0 / 488.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1222, allocations: 40 kB / 488.8 MB, free: 12.12 MB / 366.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 (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 0.0001342/0.1224, allocations: 103.2 kB / 488.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005085/0.1229, allocations: 167.8 kB / 489 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1229, allocations: 0 / 489 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.1231, allocations: 91.84 kB / 489.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1235, allocations: 23.92 kB / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007655/0.1242, allocations: 373.1 kB / 489.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.1245, allocations: 0.7171 MB / 490.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001912/0.1247, allocations: 29.41 kB / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.1248, allocations: 15.44 kB / 490.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1248, allocations: 4 kB / 490.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of Templates: time 0.004521/0.1293, allocations: 1.953 MB / 492.2 MB, free: 8.602 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches