Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001476/0.001476, allocations: 114.5 kB / 21.18 MB, free: 0.7305 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.001627/0.001627, allocations: 208.8 kB / 24.48 MB, free: 4.125 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.441/1.441, allocations: 230.2 MB / 257.8 MB, free: 8.488 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2293/0.2293, allocations: 46.9 MB / 361.1 MB, free: 4.688 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 87.86 kB / 0.4968 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3777, allocations: 65.98 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.00476/0.3825, allocations: 2.084 MB / 0.5633 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.384, allocations: 0.6049 MB / 0.5638 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.3842, allocations: 7.938 kB / 0.5639 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.3843, allocations: 19.73 kB / 0.5639 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.3845, allocations: 39.62 kB / 0.5639 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.385, allocations: 87.83 kB / 0.564 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003809/0.3854, allocations: 191.2 kB / 0.5642 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.3855, allocations: 33.53 kB / 0.5642 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.3858, allocations: 79.81 kB / 0.5643 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.386, allocations: 83.61 kB / 0.5644 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.3861, allocations: 16 kB / 0.5644 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.309e-05/0.3861, allocations: 16 kB / 0.5644 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.352e-05/0.3862, allocations: 35.89 kB / 0.5644 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.942e-05/0.3863, allocations: 71.66 kB / 0.5645 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.3866, allocations: 198 kB / 0.5647 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3866, allocations: 0 / 0.5647 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3866, allocations: 0 / 0.5647 GB, free: 1.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.3866, allocations: 4 kB / 0.5647 GB, free: 1.457 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.001014/0.3876, allocations: 458.9 kB / 0.5651 GB, free: 0.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3877, allocations: 8.031 kB / 0.5651 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.3879, allocations: 24.84 kB / 0.5652 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.3882, allocations: 220.6 kB / 0.5654 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3882, allocations: 8.609 kB / 0.5654 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.3883, allocations: 16.12 kB / 0.5654 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.3887, allocations: 157.8 kB / 0.5655 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.3887, allocations: 11.95 kB / 0.5656 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.3887, allocations: 4 kB / 0.5656 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.3887, allocations: 4 kB / 0.5656 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.389, allocations: 111.9 kB / 0.5657 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.3902, allocations: 0.6844 MB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.3905, allocations: 130.5 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.3907, allocations: 56.83 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.3907, allocations: 7.938 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.3908, allocations: 34.56 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.844e-06/0.3908, allocations: 0 / 0.5666 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.00148/0.3922, allocations: 408.7 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.3923, allocations: 55.41 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.3925, allocations: 158.1 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.3925, allocations: 29.7 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.894e-05/0.3926, allocations: 124.3 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.138e-05/0.3926, allocations: 63.42 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.561e-05/0.3927, allocations: 41.7 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3929, allocations: 326.7 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.3931, allocations: 71.95 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.3934, allocations: 99.33 kB / 0.5679 GB, free: 13.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.3939, allocations: 176 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3939, allocations: 0 / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005726/0.3944, allocations: 224 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3945, allocations: 4 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3945, allocations: 0 / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.3945, allocations: 4 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.3948, allocations: 47.91 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.3948, allocations: 11.92 kB / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.395, allocations: 11.98 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.395, allocations: 12 kB / 0.5683 GB, free: 13.45 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.0001519/0.3952, allocations: 129.8 kB / 0.5685 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.3952, allocations: 19.89 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.598e-05/0.3953, allocations: 21.19 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3953, allocations: 0 / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3953, allocations: 0 / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.3954, allocations: 109 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.3954, allocations: 0 / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.3957, allocations: 15.98 kB / 0.5686 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.3958, allocations: 23.92 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007115/0.3965, allocations: 288.8 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006252/0.3971, allocations: 385.6 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002242/0.3973, allocations: 75.95 kB / 0.5694 GB, free: 12.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.3974, allocations: 120.1 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of Backend: time 3.31e-07/0.3974, allocations: 0 / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007102/0.3981, allocations: 182.4 kB / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of SimCode: time 0.001061/0.3992, allocations: 0.7565 MB / 0.5704 GB, free: 11.25 MB / 414.1 MB Notification: Performance of Templates: time 0.007289/0.4065, allocations: 2.534 MB / 0.5729 GB, free: 8.719 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat. Warning: Get data of variable gasForce.dens from file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.023894488811493]