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.001731/0.001731, allocations: 119.2 kB / 19.13 MB, free: 3.918 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.002025/0.002025, allocations: 210.6 kB / 22.08 MB, free: 0.9688 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.47/1.47, allocations: 227.4 MB / 252.3 MB, free: 108 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.2306/0.2306, allocations: 46.17 MB / 351.8 MB, free: 14.32 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.002306/0.002306, allocations: 90.56 kB / 490.9 MB, free: 27.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.119, allocations: 62.45 MB / 0.5404 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003515/0.1226, allocations: 2.066 MB / 0.5424 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1237, allocations: 0.6039 MB / 0.543 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.247e-05/0.1239, allocations: 4 kB / 0.543 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.124, allocations: 19.8 kB / 0.543 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.1241, allocations: 43.62 kB / 0.543 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.1246, allocations: 75.81 kB / 0.5431 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.1248, allocations: 183.3 kB / 0.5433 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.125, allocations: 41.55 kB / 0.5433 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.1252, allocations: 83.75 kB / 0.5434 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.1254, allocations: 87.61 kB / 0.5435 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.1254, allocations: 12 kB / 0.5435 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.937e-05/0.1255, allocations: 16 kB / 0.5435 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.1255, allocations: 39.83 kB / 0.5435 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.272e-05/0.1256, allocations: 83.64 kB / 0.5436 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.1259, allocations: 179.2 kB / 0.5438 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1259, allocations: 3.938 kB / 0.5438 GB, free: 0.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.598e-06/0.1259, allocations: 0 / 0.5438 GB, free: 0.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.126, allocations: 3.938 kB / 0.5438 GB, free: 0.7031 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.0008056/0.1268, allocations: 457.9 kB / 0.5442 GB, free: 212 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1268, allocations: 16.03 kB / 0.5443 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.127, allocations: 28.83 kB / 0.5443 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.1273, allocations: 219.9 kB / 0.5445 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1273, allocations: 8.609 kB / 0.5445 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.1273, allocations: 16.12 kB / 0.5445 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.1277, allocations: 161.8 kB / 0.5447 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.1277, allocations: 7.938 kB / 0.5447 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.1278, allocations: 8 kB / 0.5447 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1278, allocations: 0 / 0.5447 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.1281, allocations: 107.9 kB / 0.5448 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009212/0.129, allocations: 0.6883 MB / 0.5455 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.1294, allocations: 134.5 kB / 0.5456 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.1296, allocations: 64.83 kB / 0.5457 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1296, allocations: 7.938 kB / 0.5457 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1296, allocations: 34.56 kB / 0.5457 GB, free: 14.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.1296, allocations: 0 / 0.5457 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.00137/0.131, allocations: 409.6 kB / 0.5461 GB, free: 14.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.1311, allocations: 55.41 kB / 0.5461 GB, free: 14.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.1312, allocations: 150.2 kB / 0.5463 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.1313, allocations: 29.7 kB / 0.5463 GB, free: 13.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.1314, allocations: 120.4 kB / 0.5464 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.413e-05/0.1314, allocations: 71.36 kB / 0.5465 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.1315, allocations: 37.7 kB / 0.5465 GB, free: 13.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1317, allocations: 334.8 kB / 0.5468 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.1319, allocations: 59.95 kB / 0.5469 GB, free: 13.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.1321, allocations: 103.3 kB / 0.547 GB, free: 13.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.1325, allocations: 171.3 kB / 0.5472 GB, free: 13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1325, allocations: 0 / 0.5472 GB, free: 13 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005/0.133, allocations: 224.3 kB / 0.5474 GB, free: 12.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1331, allocations: 7.984 kB / 0.5474 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1331, allocations: 4 kB / 0.5474 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1331, allocations: 0 / 0.5474 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.1334, allocations: 47.91 kB / 0.5474 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.1334, allocations: 7.938 kB / 0.5474 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.1336, allocations: 15.98 kB / 0.5475 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.1336, allocations: 7.938 kB / 0.5475 GB, free: 12.69 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.0001275/0.1338, allocations: 134.5 kB / 0.5476 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.1338, allocations: 15.91 kB / 0.5476 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.894e-05/0.1339, allocations: 21.17 kB / 0.5476 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1339, allocations: 4 kB / 0.5476 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.1339, allocations: 3.938 kB / 0.5476 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1339, allocations: 0 / 0.5476 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.1349, allocations: 0.6123 MB / 0.5482 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1349, allocations: 0 / 0.5482 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.1352, allocations: 51.89 kB / 0.5483 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1352, allocations: 4 kB / 0.5483 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1352, allocations: 0 / 0.5483 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1352, allocations: 0 / 0.5483 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.1352, allocations: 0 / 0.5483 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005433/0.1358, allocations: 307 kB / 0.5486 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.1359, allocations: 108.9 kB / 0.5487 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.136, allocations: 3.984 kB / 0.5487 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.1362, allocations: 15.98 kB / 0.5487 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.986e-05/0.1363, allocations: 19.98 kB / 0.5487 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1363, allocations: 4 kB / 0.5487 GB, free: 11.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.559e-05/0.1364, allocations: 120.1 kB / 0.5488 GB, free: 11.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1364, allocations: 0 / 0.5488 GB, free: 11.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.1367, allocations: 36 kB / 0.5489 GB, free: 11.14 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.0001422/0.1368, allocations: 95.25 kB / 0.549 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005074/0.1373, allocations: 171.9 kB / 0.5491 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.1374, allocations: 4 kB / 0.5491 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.1376, allocations: 99.72 kB / 0.5492 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.1379, allocations: 20.5 kB / 0.5493 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008065/0.1387, allocations: 386.5 kB / 0.5496 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.1391, allocations: 0.7248 MB / 0.5503 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.1392, allocations: 23.42 kB / 0.5503 GB, free: 9.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1392, allocations: 0 / 0.5503 GB, free: 9.57 MB / 414.1 MB Notification: Performance of Templates: time 0.004295/0.1435, allocations: 2.145 MB / 0.5524 GB, free: 7.426 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.377398508950137]