Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 114.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 187 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2086/0.2086, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 59.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.367, allocations: 60.82 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.00292/0.37, allocations: 2.069 MB / 0.5209 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007999/0.3708, allocations: 0.5351 MB / 0.5214 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.819e-05/0.3709, allocations: 2.312 kB / 0.5215 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.371, allocations: 20.11 kB / 0.5215 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.77e-05/0.3712, allocations: 45.33 kB / 0.5215 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.3715, allocations: 71.77 kB / 0.5216 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.3717, allocations: 193.5 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.3718, allocations: 46.28 kB / 0.5218 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.372, allocations: 93.22 kB / 0.5219 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.3721, allocations: 83.38 kB / 0.522 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.3722, allocations: 17.56 kB / 0.522 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.856e-05/0.3722, allocations: 14.03 kB / 0.522 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.3723, allocations: 38.11 kB / 0.522 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.663e-05/0.3723, allocations: 76.98 kB / 0.5221 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.3726, allocations: 184.5 kB / 0.5223 GB, free: 1.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3726, allocations: 2 kB / 0.5223 GB, free: 1.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3726, allocations: 0 / 0.5223 GB, free: 1.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3726, allocations: 0 / 0.5223 GB, free: 1.367 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006351/0.3732, allocations: 462.7 kB / 0.5227 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.3733, allocations: 9.25 kB / 0.5227 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.3733, allocations: 17.81 kB / 0.5228 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.3735, allocations: 213 kB / 0.523 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3735, allocations: 8.906 kB / 0.523 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.3736, allocations: 16.75 kB / 0.523 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.3739, allocations: 163.8 kB / 0.5231 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3739, allocations: 5.125 kB / 0.5232 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.3739, allocations: 1.469 kB / 0.5232 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.3739, allocations: 3.5 kB / 0.5232 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.3742, allocations: 115.7 kB / 0.5233 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007861/0.375, allocations: 0.6991 MB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.3754, allocations: 145 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.3756, allocations: 66.83 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.3756, allocations: 7.828 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.3756, allocations: 34.56 kB / 0.5242 GB, free: 15.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.3756, allocations: 0 / 0.5242 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001316/0.377, allocations: 420 kB / 0.5246 GB, free: 15.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.377, allocations: 53.72 kB / 0.5246 GB, free: 15.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3772, allocations: 158.8 kB / 0.5248 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.3772, allocations: 26.77 kB / 0.5248 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.3773, allocations: 120.7 kB / 0.5249 GB, free: 15.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.873e-05/0.3773, allocations: 75.59 kB / 0.525 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.898e-05/0.3774, allocations: 38.64 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3776, allocations: 327.2 kB / 0.5254 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.3778, allocations: 67.2 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.378, allocations: 104.9 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.3784, allocations: 180.3 kB / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3784, allocations: 0 / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004756/0.3789, allocations: 221.7 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3789, allocations: 5.953 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.379, allocations: 1.406 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.379, allocations: 5.844 kB / 0.5259 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.3793, allocations: 56.19 kB / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3793, allocations: 1.375 kB / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.3795, allocations: 15.52 kB / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.3795, allocations: 9.5 kB / 0.526 GB, free: 14.64 MB / 398.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 (23): * Single equations (assignments): 23 * 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.000125/0.3796, allocations: 134.5 kB / 0.5261 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.3797, allocations: 14.69 kB / 0.5261 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.012e-05/0.3797, allocations: 22 kB / 0.5262 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3797, allocations: 2.75 kB / 0.5262 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3797, allocations: 0 / 0.5262 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3798, allocations: 2.688 kB / 0.5262 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.3808, allocations: 0.6262 MB / 0.5268 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.3808, allocations: 5.375 kB / 0.5268 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.3811, allocations: 45.98 kB / 0.5268 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.3811, allocations: 4.688 kB / 0.5268 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.3811, allocations: 10.12 kB / 0.5268 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3811, allocations: 1.375 kB / 0.5268 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3811, allocations: 0 / 0.5268 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004813/0.3816, allocations: 305.9 kB / 0.5271 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-05/0.3817, allocations: 106.5 kB / 0.5272 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.3817, allocations: 13.88 kB / 0.5272 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.3819, allocations: 10.44 kB / 0.5273 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.382, allocations: 17.11 kB / 0.5273 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.382, allocations: 9.391 kB / 0.5273 GB, free: 13.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.255e-05/0.3821, allocations: 114.9 kB / 0.5274 GB, free: 13.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3821, allocations: 1.375 kB / 0.5274 GB, free: 13.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.3824, allocations: 41.48 kB / 0.5274 GB, free: 13.58 MB / 398.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 (20): * Single equations (assignments): 20 * 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.0001087/0.3826, allocations: 97.31 kB / 0.5275 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004656/0.383, allocations: 177.3 kB / 0.5277 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.383, allocations: 5.219 kB / 0.5277 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.3833, allocations: 93.8 kB / 0.5278 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.3836, allocations: 23.73 kB / 0.5278 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007873/0.3844, allocations: 388.9 kB / 0.5282 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.3847, allocations: 0.7186 MB / 0.5289 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001553/0.3849, allocations: 30.69 kB / 0.5289 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.716e-05/0.3849, allocations: 21.23 kB / 0.5289 GB, free: 12.36 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.385, allocations: 0 / 0.5289 GB, free: 12.36 MB / 398.1 MB Notification: Performance of Templates: time 0.004775/0.3897, allocations: 2.079 MB / 0.531 GB, free: 11.31 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches