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.00121/0.001215, allocations: 116.8 kB / 17.78 MB, free: 5.254 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.001158/0.001158, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.397/1.397, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.1983/0.1983, allocations: 44.19 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 64.05 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3369, allocations: 60.82 MB / 0.5189 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003563/0.3405, allocations: 2.072 MB / 0.5209 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3416, allocations: 0.5361 MB / 0.5215 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.3417, allocations: 5.094 kB / 0.5215 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.3419, allocations: 24.11 kB / 0.5215 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.3421, allocations: 37.12 kB / 0.5215 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.3425, allocations: 76.11 kB / 0.5216 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.3427, allocations: 184.9 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.3429, allocations: 51.09 kB / 0.5218 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.343, allocations: 88.58 kB / 0.5219 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.3432, allocations: 77.83 kB / 0.522 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.3432, allocations: 14.53 kB / 0.522 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.536e-05/0.3433, allocations: 13.91 kB / 0.522 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.67e-05/0.3433, allocations: 41.36 kB / 0.522 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.775e-05/0.3434, allocations: 81.03 kB / 0.5221 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.3437, allocations: 184.3 kB / 0.5223 GB, free: 1.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3437, allocations: 0 / 0.5223 GB, free: 1.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3437, allocations: 1.094 kB / 0.5223 GB, free: 1.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3437, allocations: 0 / 0.5223 GB, free: 1.359 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.0007111/0.3444, allocations: 470.5 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3445, allocations: 9.844 kB / 0.5228 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.3446, allocations: 17.59 kB / 0.5228 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.3448, allocations: 212.5 kB / 0.523 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3448, allocations: 8.969 kB / 0.523 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.3449, allocations: 20.38 kB / 0.523 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.3452, allocations: 160.1 kB / 0.5232 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.3453, allocations: 5.797 kB / 0.5232 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.3453, allocations: 5.188 kB / 0.5232 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3453, allocations: 3.438 kB / 0.5232 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.3456, allocations: 115.4 kB / 0.5233 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009063/0.3465, allocations: 0.6957 MB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/0.347, allocations: 146.2 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.3471, allocations: 62 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.3472, allocations: 9.656 kB / 0.5242 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.3472, allocations: 36.69 kB / 0.5242 GB, free: 15.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.3472, allocations: 0 / 0.5242 GB, free: 15.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001424/0.3487, allocations: 424.4 kB / 0.5246 GB, free: 15.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.3487, allocations: 53.88 kB / 0.5247 GB, free: 15.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.3489, allocations: 160.2 kB / 0.5248 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.3489, allocations: 25.7 kB / 0.5248 GB, free: 15.42 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.638e-05/0.349, allocations: 118.7 kB / 0.5249 GB, free: 15.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.728e-05/0.3491, allocations: 74.38 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.057e-05/0.3491, allocations: 41.34 kB / 0.5251 GB, free: 15.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3493, allocations: 332.4 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.3495, allocations: 66.19 kB / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.3497, allocations: 100.5 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.3501, allocations: 182.7 kB / 0.5257 GB, free: 14.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3501, allocations: 1.156 kB / 0.5257 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005409/0.3506, allocations: 221.8 kB / 0.5259 GB, free: 14.63 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3507, allocations: 6.969 kB / 0.5259 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3507, allocations: 1.25 kB / 0.5259 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3507, allocations: 1.938 kB / 0.5259 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.351, allocations: 55.55 kB / 0.526 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.351, allocations: 3.359 kB / 0.526 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.3511, allocations: 10.92 kB / 0.526 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.3512, allocations: 8.984 kB / 0.526 GB, free: 14.62 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.0001068/0.3513, allocations: 142.7 kB / 0.5261 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.3513, allocations: 15.69 kB / 0.5262 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.3514, allocations: 21.11 kB / 0.5262 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3514, allocations: 2.703 kB / 0.5262 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3514, allocations: 0 / 0.5262 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.3514, allocations: 6.359 kB / 0.5262 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.3525, allocations: 0.6249 MB / 0.5268 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3525, allocations: 0 / 0.5268 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.3528, allocations: 46.88 kB / 0.5268 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3528, allocations: 4.875 kB / 0.5268 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.3528, allocations: 5.094 kB / 0.5268 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3528, allocations: 1.688 kB / 0.5269 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3528, allocations: 1.312 kB / 0.5269 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005168/0.3533, allocations: 302.8 kB / 0.5271 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.3534, allocations: 107.1 kB / 0.5272 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.3535, allocations: 9.312 kB / 0.5273 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.3537, allocations: 12.09 kB / 0.5273 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.3538, allocations: 19.78 kB / 0.5273 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3538, allocations: 6.578 kB / 0.5273 GB, free: 13.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.655e-05/0.3539, allocations: 119.6 kB / 0.5274 GB, free: 13.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3539, allocations: 3.938 kB / 0.5274 GB, free: 13.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.3541, allocations: 41 kB / 0.5274 GB, free: 13.56 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.000115/0.3543, allocations: 97.45 kB / 0.5275 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004904/0.3548, allocations: 180.4 kB / 0.5277 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.3548, allocations: 1.375 kB / 0.5277 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.355, allocations: 100.4 kB / 0.5278 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.3553, allocations: 16.25 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.0007575/0.3561, allocations: 385.5 kB / 0.5282 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.3564, allocations: 0.7236 MB / 0.5289 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001553/0.3566, allocations: 30.5 kB / 0.5289 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.3566, allocations: 17 kB / 0.5289 GB, free: 12.36 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3567, allocations: 0 / 0.5289 GB, free: 12.36 MB / 398.1 MB Notification: Performance of Templates: time 0.004939/0.3616, allocations: 2.05 MB / 0.5309 GB, free: 11.33 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