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.001256/0.001256, allocations: 111.3 kB / 18.45 MB, free: 4.645 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.001263/0.001264, allocations: 186.2 kB / 19.38 MB, free: 3.723 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.267/1.267, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2057/0.2057, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3482, allocations: 60.81 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003033/0.3513, allocations: 2.07 MB / 0.5216 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008596/0.3522, allocations: 0.5388 MB / 0.5221 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.3523, allocations: 2.188 kB / 0.5221 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.3524, allocations: 19.06 kB / 0.5221 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.3525, allocations: 42.14 kB / 0.5222 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.3528, allocations: 75.7 kB / 0.5222 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.3531, allocations: 189.5 kB / 0.5224 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.3533, allocations: 46.52 kB / 0.5225 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.3534, allocations: 89.53 kB / 0.5226 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.3536, allocations: 83.14 kB / 0.5226 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.3536, allocations: 14 kB / 0.5226 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.817e-05/0.3537, allocations: 14.31 kB / 0.5227 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.13e-05/0.3537, allocations: 37.5 kB / 0.5227 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.328e-05/0.3538, allocations: 75.77 kB / 0.5228 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.3541, allocations: 181.4 kB / 0.5229 GB, free: 1.383 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.882e-06/0.3541, allocations: 6.062 kB / 0.5229 GB, free: 1.379 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3541, allocations: 0 / 0.5229 GB, free: 1.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.3541, allocations: 0 / 0.5229 GB, free: 1.379 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.0006785/0.3548, allocations: 462.9 kB / 0.5234 GB, free: 0.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3548, allocations: 9.812 kB / 0.5234 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.3549, allocations: 25.11 kB / 0.5234 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.3552, allocations: 214.3 kB / 0.5236 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3552, allocations: 9.125 kB / 0.5236 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.3552, allocations: 21.06 kB / 0.5237 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.3556, allocations: 163.5 kB / 0.5238 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3556, allocations: 1.125 kB / 0.5238 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.3556, allocations: 6.156 kB / 0.5238 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.3556, allocations: 7.203 kB / 0.5238 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.3559, allocations: 115.2 kB / 0.5239 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000805/0.3568, allocations: 0.6952 MB / 0.5246 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.3572, allocations: 154.8 kB / 0.5248 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.3574, allocations: 61.89 kB / 0.5248 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.3574, allocations: 5.281 kB / 0.5248 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.3574, allocations: 37.92 kB / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.3574, allocations: 0 / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001384/0.3588, allocations: 415.7 kB / 0.5253 GB, free: 15.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.3589, allocations: 58.25 kB / 0.5253 GB, free: 15.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.359, allocations: 154.5 kB / 0.5255 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.3591, allocations: 31.23 kB / 0.5255 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/0.3592, allocations: 119.3 kB / 0.5256 GB, free: 15.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/0.3592, allocations: 69.42 kB / 0.5257 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/0.3593, allocations: 37.91 kB / 0.5257 GB, free: 15.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3595, allocations: 335.1 kB / 0.526 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.3597, allocations: 67.88 kB / 0.5261 GB, free: 14.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.3599, allocations: 104 kB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.3603, allocations: 177.3 kB / 0.5264 GB, free: 14.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3603, allocations: 1.375 kB / 0.5264 GB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004961/0.3608, allocations: 222.9 kB / 0.5266 GB, free: 14.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3608, allocations: 5.5 kB / 0.5266 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3608, allocations: 6.078 kB / 0.5266 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3609, allocations: 1.375 kB / 0.5266 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.3612, allocations: 52.47 kB / 0.5266 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.3612, allocations: 5.922 kB / 0.5266 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.3613, allocations: 14.53 kB / 0.5267 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.3614, allocations: 5.5 kB / 0.5267 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.0001154/0.3615, allocations: 134.6 kB / 0.5268 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.56e-05/0.3615, allocations: 19.39 kB / 0.5268 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.3616, allocations: 21.77 kB / 0.5268 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3616, allocations: 6.688 kB / 0.5268 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3616, allocations: 0 / 0.5268 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3616, allocations: 2.828 kB / 0.5268 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.3627, allocations: 0.6288 MB / 0.5274 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3627, allocations: 0 / 0.5274 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.363, allocations: 50.61 kB / 0.5275 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.363, allocations: 3.938 kB / 0.5275 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.363, allocations: 1.875 kB / 0.5275 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.363, allocations: 1.906 kB / 0.5275 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.363, allocations: 1.219 kB / 0.5275 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.3635, allocations: 307.2 kB / 0.5278 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.469e-05/0.3637, allocations: 106.1 kB / 0.5279 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.3637, allocations: 5.891 kB / 0.5279 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.3639, allocations: 19.38 kB / 0.5279 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.002e-05/0.364, allocations: 17.02 kB / 0.5279 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.364, allocations: 5.609 kB / 0.5279 GB, free: 13.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.972e-05/0.3641, allocations: 124 kB / 0.5281 GB, free: 13.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3641, allocations: 0 / 0.5281 GB, free: 13.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.3644, allocations: 36.62 kB / 0.5281 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.0001285/0.3645, allocations: 101.1 kB / 0.5282 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004985/0.365, allocations: 173.5 kB / 0.5284 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3651, allocations: 8.125 kB / 0.5284 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.3653, allocations: 93.19 kB / 0.5285 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.0003283/0.3656, allocations: 16.25 kB / 0.5285 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.3664, allocations: 412.6 kB / 0.5289 GB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.3667, allocations: 0.7246 MB / 0.5296 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.792e-05/0.3668, allocations: 22.22 kB / 0.5296 GB, free: 12.35 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3668, allocations: 0 / 0.5296 GB, free: 12.35 MB / 398.1 MB Notification: Performance of Templates: time 0.004079/0.3709, allocations: 2.173 MB / 0.5317 GB, free: 11.21 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/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