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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00163/0.00163, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001603/0.001603, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 230.2 MB / 250.8 MB, free: 8.809 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2273/0.2273, allocations: 46.89 MB / 351.8 MB, free: 7.324 MB / 286.1 MB 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.002293/0.002293, allocations: 83.84 kB / 496.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3656, allocations: 65.97 MB / 0.5493 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003622/0.3692, allocations: 2.075 MB / 0.5513 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3703, allocations: 0.6078 MB / 0.5519 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.009e-05/0.3704, allocations: 0 / 0.5519 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.3706, allocations: 23.78 kB / 0.5519 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.3707, allocations: 35.64 kB / 0.552 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.3711, allocations: 87.81 kB / 0.552 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.3714, allocations: 191.2 kB / 0.5522 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.3715, allocations: 33.53 kB / 0.5523 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.3717, allocations: 79.75 kB / 0.5523 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.3719, allocations: 91.55 kB / 0.5524 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.3719, allocations: 12 kB / 0.5524 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.77e-05/0.372, allocations: 16 kB / 0.5524 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.88e-05/0.372, allocations: 35.89 kB / 0.5525 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.843e-05/0.3721, allocations: 83.59 kB / 0.5526 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.3724, allocations: 179.9 kB / 0.5527 GB, free: 1.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3724, allocations: 0 / 0.5527 GB, free: 1.984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3724, allocations: 0 / 0.5527 GB, free: 1.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3724, allocations: 0 / 0.5527 GB, free: 1.984 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.0008471/0.3733, allocations: 462.9 kB / 0.5532 GB, free: 1.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3733, allocations: 12.03 kB / 0.5532 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.3734, allocations: 28.83 kB / 0.5532 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.3737, allocations: 220.2 kB / 0.5534 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3737, allocations: 8.609 kB / 0.5534 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.3738, allocations: 12.12 kB / 0.5534 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.3741, allocations: 165.8 kB / 0.5536 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.3742, allocations: 15.88 kB / 0.5536 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.3742, allocations: 8 kB / 0.5536 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3742, allocations: 0 / 0.5536 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.3745, allocations: 107.9 kB / 0.5537 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009285/0.3754, allocations: 0.6883 MB / 0.5544 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.3758, allocations: 138 kB / 0.5545 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.376, allocations: 52.83 kB / 0.5546 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.376, allocations: 11.94 kB / 0.5546 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.376, allocations: 30.56 kB / 0.5546 GB, free: 15.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.153e-06/0.376, allocations: 0 / 0.5546 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001326/0.3773, allocations: 413.2 kB / 0.555 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.3774, allocations: 55.34 kB / 0.5551 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.3775, allocations: 150.2 kB / 0.5552 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.3776, allocations: 33.7 kB / 0.5552 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.02e-05/0.3777, allocations: 116.4 kB / 0.5554 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.3777, allocations: 67.42 kB / 0.5554 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.142e-05/0.3778, allocations: 33.72 kB / 0.5555 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.378, allocations: 334.8 kB / 0.5558 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.3781, allocations: 63.97 kB / 0.5558 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.3784, allocations: 103.3 kB / 0.5559 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/0.3788, allocations: 177.5 kB / 0.5561 GB, free: 14.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3788, allocations: 0 / 0.5561 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004889/0.3793, allocations: 223.6 kB / 0.5563 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3793, allocations: 11.94 kB / 0.5563 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3793, allocations: 0 / 0.5563 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.3793, allocations: 4 kB / 0.5563 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.3796, allocations: 43.97 kB / 0.5564 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.3796, allocations: 7.922 kB / 0.5564 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.3798, allocations: 12 kB / 0.5564 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.3798, allocations: 7.984 kB / 0.5564 GB, free: 13.97 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.0001472/0.3799, allocations: 133.8 kB / 0.5565 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.38, allocations: 15.91 kB / 0.5565 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.38, allocations: 21.19 kB / 0.5566 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.38, allocations: 0 / 0.5566 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3801, allocations: 3.938 kB / 0.5566 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3801, allocations: 7.984 kB / 0.5566 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.3811, allocations: 0.6123 MB / 0.5572 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3811, allocations: 0 / 0.5572 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.3814, allocations: 43.97 kB / 0.5572 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3814, allocations: 0 / 0.5572 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3814, allocations: 0 / 0.5572 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.3814, allocations: 4 kB / 0.5572 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3814, allocations: 0 / 0.5572 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005301/0.3819, allocations: 308.1 kB / 0.5575 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.382, allocations: 108.9 kB / 0.5576 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.3821, allocations: 4 kB / 0.5576 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.3823, allocations: 11.98 kB / 0.5576 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.3824, allocations: 15.98 kB / 0.5576 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.3824, allocations: 11.98 kB / 0.5577 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.3825, allocations: 116.1 kB / 0.5578 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3825, allocations: 0 / 0.5578 GB, free: 12.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.3828, allocations: 36 kB / 0.5578 GB, free: 12.43 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.0001506/0.3829, allocations: 99.25 kB / 0.5579 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004819/0.3834, allocations: 166.7 kB / 0.5581 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3834, allocations: 0 / 0.5581 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.3836, allocations: 87.84 kB / 0.5581 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.384, allocations: 31.84 kB / 0.5582 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007882/0.3848, allocations: 364.7 kB / 0.5585 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.3851, allocations: 0.7209 MB / 0.5592 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.3853, allocations: 33.41 kB / 0.5593 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.501e-05/0.3854, allocations: 19.38 kB / 0.5593 GB, free: 10.86 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3854, allocations: 0 / 0.5593 GB, free: 10.86 MB / 414.1 MB Notification: Performance of Templates: time 0.005188/0.3905, allocations: 2.004 MB / 0.5612 GB, free: 8.863 MB / 414.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches