Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) 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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001695/0.001695, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 101.7 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3502/0.3502, allocations: 44.84 MB / 392.7 MB, free: 34.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 59.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3337, allocations: 62.01 MB / 0.5152 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002734/0.3364, allocations: 2.142 MB / 0.5172 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000799/0.3373, allocations: 0.569 MB / 0.5178 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.3373, allocations: 3.094 kB / 0.5178 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.3375, allocations: 18.72 kB / 0.5178 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.305e-05/0.3376, allocations: 40.03 kB / 0.5179 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.3379, allocations: 63.05 kB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.3381, allocations: 178.2 kB / 0.5181 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3382, allocations: 48.84 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.3383, allocations: 81.83 kB / 0.5182 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.3385, allocations: 77.95 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.3385, allocations: 9.5 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.697e-05/0.3386, allocations: 15.12 kB / 0.5183 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.3386, allocations: 32.52 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.542e-05/0.3387, allocations: 75.66 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.3388, allocations: 182.6 kB / 0.5186 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3388, allocations: 0 / 0.5186 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3388, allocations: 0 / 0.5186 GB, free: 35.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.3389, allocations: 0 / 0.5186 GB, free: 35.5 MB / 378.7 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.0006552/0.3395, allocations: 465.9 kB / 0.519 GB, free: 35.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.3395, allocations: 12.66 kB / 0.519 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.3397, allocations: 26.44 kB / 0.5191 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.3399, allocations: 212.2 kB / 0.5193 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3399, allocations: 7.219 kB / 0.5193 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.3399, allocations: 20.59 kB / 0.5193 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.3402, allocations: 164.8 kB / 0.5195 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3402, allocations: 2.812 kB / 0.5195 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.3403, allocations: 8 kB / 0.5195 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3403, allocations: 3.031 kB / 0.5195 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.3406, allocations: 115.1 kB / 0.5196 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007062/0.3413, allocations: 0.6997 MB / 0.5203 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.3416, allocations: 146.9 kB / 0.5204 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.3418, allocations: 67.25 kB / 0.5205 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3418, allocations: 3.938 kB / 0.5205 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.234e-05/0.3418, allocations: 33.34 kB / 0.5205 GB, free: 33.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.3418, allocations: 0 / 0.5205 GB, free: 33.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001173/0.343, allocations: 412.7 kB / 0.5209 GB, free: 33.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.343, allocations: 54.53 kB / 0.5209 GB, free: 33.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.223e-05/0.3431, allocations: 160.5 kB / 0.5211 GB, free: 33.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3432, allocations: 32.73 kB / 0.5211 GB, free: 33.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.3432, allocations: 118.1 kB / 0.5212 GB, free: 33.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.3432, allocations: 74.36 kB / 0.5213 GB, free: 33.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.561e-05/0.3433, allocations: 48.5 kB / 0.5214 GB, free: 33.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.534e-05/0.3434, allocations: 324.8 kB / 0.5217 GB, free: 33.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.3436, allocations: 70.03 kB / 0.5217 GB, free: 33.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.3437, allocations: 100.8 kB / 0.5218 GB, free: 32.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.3441, allocations: 185.7 kB / 0.522 GB, free: 32.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3441, allocations: 0 / 0.522 GB, free: 32.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000424/0.3445, allocations: 218.9 kB / 0.5222 GB, free: 32.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.3445, allocations: 5.75 kB / 0.5222 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3446, allocations: 0 / 0.5222 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.3446, allocations: 6.844 kB / 0.5222 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.3449, allocations: 57.23 kB / 0.5223 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3449, allocations: 0 / 0.5223 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.345, allocations: 15.97 kB / 0.5223 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.3451, allocations: 12.81 kB / 0.5223 GB, free: 32.77 MB / 378.7 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 7.273e-05/0.3451, allocations: 127.3 kB / 0.5224 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.3452, allocations: 16.56 kB / 0.5225 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.3452, allocations: 28.08 kB / 0.5225 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3452, allocations: 6.172 kB / 0.5225 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.3452, allocations: 0 / 0.5225 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3453, allocations: 0 / 0.5225 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008062/0.3461, allocations: 0.6295 MB / 0.5231 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3461, allocations: 0 / 0.5231 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.3463, allocations: 50.75 kB / 0.5231 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3463, allocations: 3.938 kB / 0.5232 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3464, allocations: 6.5 kB / 0.5232 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3464, allocations: 0 / 0.5232 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3464, allocations: 0 / 0.5232 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007297/0.3471, allocations: 0.9489 MB / 0.5241 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-05/0.3472, allocations: 105.3 kB / 0.5242 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.3472, allocations: 6.781 kB / 0.5242 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.3474, allocations: 12.3 kB / 0.5242 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.3475, allocations: 18.53 kB / 0.5242 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.3475, allocations: 2.375 kB / 0.5242 GB, free: 31.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.426e-05/0.3476, allocations: 123.6 kB / 0.5243 GB, free: 31.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3476, allocations: 3.938 kB / 0.5243 GB, free: 31.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003515/0.3479, allocations: 35.59 kB / 0.5244 GB, free: 31.11 MB / 378.7 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 8.091e-05/0.348, allocations: 105.7 kB / 0.5245 GB, free: 31.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004189/0.3485, allocations: 177.3 kB / 0.5246 GB, free: 30.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3485, allocations: 4 kB / 0.5247 GB, free: 30.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.3487, allocations: 95.45 kB / 0.5247 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.349, allocations: 17.59 kB / 0.5248 GB, free: 30.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006779/0.3497, allocations: 0.5854 MB / 0.5253 GB, free: 30.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.3498, allocations: 0.7257 MB / 0.526 GB, free: 29.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001955/0.35, allocations: 27.67 kB / 0.5261 GB, free: 29.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/0.3501, allocations: 21.72 kB / 0.5261 GB, free: 29.75 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3501, allocations: 3.938 kB / 0.5261 GB, free: 29.75 MB / 378.7 MB Notification: Performance of Templates: time 0.003813/0.3539, allocations: 1.933 MB / 0.528 GB, free: 29.61 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches