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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, allocations: 121.5 kB / 18.46 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 209.8 kB / 21.4 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 251.6 MB, free: 60 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 46.16 MB / 351.1 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] 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=5010,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=5010,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 82.69 kB / 490.2 MB, free: 28.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1119, allocations: 62.44 MB / 0.5397 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003372/0.1153, allocations: 2.075 MB / 0.5417 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1165, allocations: 0.6 MB / 0.5423 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.371e-05/0.1166, allocations: 4 kB / 0.5423 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.1167, allocations: 19.78 kB / 0.5423 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.617e-05/0.1168, allocations: 39.64 kB / 0.5424 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.1172, allocations: 79.81 kB / 0.5424 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.1174, allocations: 191.3 kB / 0.5426 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.1176, allocations: 41.53 kB / 0.5426 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.1178, allocations: 87.69 kB / 0.5427 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.1179, allocations: 83.67 kB / 0.5428 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.118, allocations: 12 kB / 0.5428 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.333e-05/0.118, allocations: 20 kB / 0.5428 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.1181, allocations: 35.84 kB / 0.5429 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.6e-05/0.1182, allocations: 75.66 kB / 0.5429 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.1185, allocations: 191.1 kB / 0.5431 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1185, allocations: 0 / 0.5431 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1185, allocations: 0 / 0.5431 GB, free: 0.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1185, allocations: 0 / 0.5431 GB, free: 0.668 MB / 398.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.0007836/0.1193, allocations: 465.8 kB / 0.5436 GB, free: 168 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1193, allocations: 8.031 kB / 0.5436 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.1195, allocations: 28.83 kB / 0.5436 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.1198, allocations: 223.9 kB / 0.5438 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1198, allocations: 4.609 kB / 0.5438 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.1198, allocations: 16.12 kB / 0.5438 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.1202, allocations: 165.8 kB / 0.544 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1202, allocations: 3.953 kB / 0.544 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.1202, allocations: 4 kB / 0.544 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1203, allocations: 0 / 0.544 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.1206, allocations: 111.9 kB / 0.5441 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009508/0.1215, allocations: 0.6883 MB / 0.5448 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.1219, allocations: 138.5 kB / 0.5449 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.1221, allocations: 68.83 kB / 0.545 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.1221, allocations: 3.938 kB / 0.545 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1221, allocations: 30.56 kB / 0.545 GB, free: 14.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1221, allocations: 0 / 0.545 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001339/0.1235, allocations: 403.7 kB / 0.5454 GB, free: 14.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.1235, allocations: 59.34 kB / 0.5455 GB, free: 14.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.1237, allocations: 150.2 kB / 0.5456 GB, free: 13.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.1237, allocations: 29.7 kB / 0.5456 GB, free: 13.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.1238, allocations: 120.4 kB / 0.5457 GB, free: 13.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.1239, allocations: 75.34 kB / 0.5458 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/0.124, allocations: 41.7 kB / 0.5459 GB, free: 13.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1241, allocations: 326.8 kB / 0.5462 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.1243, allocations: 63.95 kB / 0.5462 GB, free: 13.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.1246, allocations: 95.34 kB / 0.5463 GB, free: 13.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.125, allocations: 175.3 kB / 0.5465 GB, free: 12.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.125, allocations: 0 / 0.5465 GB, free: 12.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005303/0.1255, allocations: 228.3 kB / 0.5467 GB, free: 12.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1256, allocations: 7.938 kB / 0.5467 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1256, allocations: 4 kB / 0.5467 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1256, allocations: 0 / 0.5467 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.1259, allocations: 51.89 kB / 0.5468 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.1259, allocations: 7.938 kB / 0.5468 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.1261, allocations: 20.08 kB / 0.5468 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.1261, allocations: 4 kB / 0.5468 GB, free: 12.65 MB / 414.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.0001237/0.1262, allocations: 130.4 kB / 0.5469 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.505e-05/0.1263, allocations: 15.91 kB / 0.5469 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.1263, allocations: 17.19 kB / 0.547 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.1264, allocations: 4 kB / 0.547 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.1264, allocations: 7.922 kB / 0.547 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1264, allocations: 0 / 0.547 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.1274, allocations: 0.6123 MB / 0.5476 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1274, allocations: 0 / 0.5476 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.1277, allocations: 47.91 kB / 0.5476 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1277, allocations: 4 kB / 0.5476 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1277, allocations: 0 / 0.5476 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1277, allocations: 4 kB / 0.5476 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1277, allocations: 0 / 0.5476 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.1283, allocations: 307 kB / 0.5479 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1284, allocations: 109 kB / 0.548 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.1284, allocations: 0 / 0.548 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.1286, allocations: 19.98 kB / 0.548 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.1287, allocations: 19.97 kB / 0.5481 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.1287, allocations: 8 kB / 0.5481 GB, free: 11.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.384e-05/0.1288, allocations: 124 kB / 0.5482 GB, free: 11.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1288, allocations: 0 / 0.5482 GB, free: 11.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.1291, allocations: 36 kB / 0.5482 GB, free: 11.1 MB / 414.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.0001174/0.1292, allocations: 95.25 kB / 0.5483 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004982/0.1298, allocations: 163.8 kB / 0.5485 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1298, allocations: 0 / 0.5485 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.13, allocations: 91.84 kB / 0.5485 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.1303, allocations: 30.05 kB / 0.5486 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000742/0.1311, allocations: 364.8 kB / 0.5489 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.1314, allocations: 0.7287 MB / 0.5496 GB, free: 9.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.1316, allocations: 25.42 kB / 0.5497 GB, free: 9.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.817e-05/0.1317, allocations: 19.44 kB / 0.5497 GB, free: 9.535 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1317, allocations: 0 / 0.5497 GB, free: 9.535 MB / 414.1 MB Notification: Performance of Templates: time 0.005071/0.1368, allocations: 1.973 MB / 0.5516 GB, free: 7.574 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "Error: Could not read variable gasForce.dens in file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat. Warning: Get data of variable gasForce.dens from file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.729075836017728]