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.001549/0.001549, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247 MB, free: 10.41 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.2386/0.2386, allocations: 46.12 MB / 344.3 MB, free: 11.46 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.002315/0.002315, allocations: 80.09 kB / 481.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2987, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.00319/0.3019, allocations: 2.075 MB / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.303, allocations: 0.6017 MB / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.3031, allocations: 5.062 kB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.3032, allocations: 21.47 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.717e-05/0.3033, allocations: 36.58 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.3037, allocations: 86.61 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.3039, allocations: 188.1 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.3041, allocations: 42.81 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.3043, allocations: 76.89 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.3044, allocations: 86.75 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.3045, allocations: 17.31 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.3046, allocations: 15.44 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.3046, allocations: 36.31 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.12e-05/0.3047, allocations: 74.31 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.305, allocations: 187.3 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.305, allocations: 0 / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.305, allocations: 0 / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.305, allocations: 1.094 kB / 0.5345 GB, free: 10.91 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.0008507/0.3059, allocations: 467 kB / 0.535 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3059, allocations: 9.781 kB / 0.535 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.3061, allocations: 26.61 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.3063, allocations: 211.8 kB / 0.5352 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.3064, allocations: 8.734 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.3064, allocations: 16.38 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.3068, allocations: 170 kB / 0.5354 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.3068, allocations: 9.312 kB / 0.5354 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.3068, allocations: 5.375 kB / 0.5354 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3068, allocations: 2.75 kB / 0.5354 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.3072, allocations: 112.2 kB / 0.5355 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00097/0.3081, allocations: 0.6914 MB / 0.5362 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.3085, allocations: 135.8 kB / 0.5363 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.3087, allocations: 65.95 kB / 0.5364 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.3087, allocations: 8.938 kB / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.3088, allocations: 32.72 kB / 0.5364 GB, free: 9.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.3088, allocations: 0 / 0.5364 GB, free: 9.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001403/0.3102, allocations: 404 kB / 0.5368 GB, free: 8.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.3102, allocations: 53.78 kB / 0.5369 GB, free: 8.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.3104, allocations: 151.1 kB / 0.537 GB, free: 8.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.3104, allocations: 34.77 kB / 0.537 GB, free: 8.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.3105, allocations: 118 kB / 0.5372 GB, free: 8.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/0.3106, allocations: 74.91 kB / 0.5372 GB, free: 8.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/0.3107, allocations: 34.16 kB / 0.5373 GB, free: 8.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3108, allocations: 330.5 kB / 0.5376 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.3111, allocations: 62.47 kB / 0.5376 GB, free: 8.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.3113, allocations: 104.5 kB / 0.5377 GB, free: 8.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.3117, allocations: 171.8 kB / 0.5379 GB, free: 8.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3117, allocations: 1.188 kB / 0.5379 GB, free: 8.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005247/0.3123, allocations: 222.7 kB / 0.5381 GB, free: 7.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3123, allocations: 5.312 kB / 0.5381 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3123, allocations: 5.281 kB / 0.5381 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3123, allocations: 1.031 kB / 0.5381 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.3126, allocations: 49.34 kB / 0.5382 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3127, allocations: 10.33 kB / 0.5382 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.3128, allocations: 14.78 kB / 0.5382 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.3129, allocations: 9.172 kB / 0.5382 GB, free: 7.848 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 (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.0001301/0.313, allocations: 128.4 kB / 0.5383 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.313, allocations: 15.69 kB / 0.5383 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/0.3131, allocations: 20.34 kB / 0.5384 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3131, allocations: 2.438 kB / 0.5384 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.3131, allocations: 3.938 kB / 0.5384 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.3131, allocations: 3.984 kB / 0.5384 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.3142, allocations: 0.613 MB / 0.539 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3142, allocations: 1.125 kB / 0.539 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.3145, allocations: 43.44 kB / 0.539 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3145, allocations: 0.9375 kB / 0.539 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.3145, allocations: 9.094 kB / 0.539 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.3145, allocations: 5.062 kB / 0.539 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3145, allocations: 0 / 0.539 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.3151, allocations: 303 kB / 0.5393 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.3152, allocations: 106.8 kB / 0.5394 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.3153, allocations: 5.062 kB / 0.5394 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.3155, allocations: 15.7 kB / 0.5394 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.3156, allocations: 14.23 kB / 0.5395 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.3156, allocations: 8.922 kB / 0.5395 GB, free: 6.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.776e-05/0.3157, allocations: 120 kB / 0.5396 GB, free: 6.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3157, allocations: 1.156 kB / 0.5396 GB, free: 6.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.316, allocations: 35.31 kB / 0.5396 GB, free: 6.676 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 (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.0001393/0.3161, allocations: 105.5 kB / 0.5397 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005215/0.3167, allocations: 161 kB / 0.5399 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3167, allocations: 0 / 0.5399 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.3169, allocations: 91.12 kB / 0.54 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.3173, allocations: 39.58 kB / 0.54 GB, free: 6.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.318, allocations: 361.2 kB / 0.5403 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.3184, allocations: 0.715 MB / 0.541 GB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000171/0.3186, allocations: 31.22 kB / 0.5411 GB, free: 5.461 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.899e-05/0.3187, allocations: 15.94 kB / 0.5411 GB, free: 5.453 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3187, allocations: 0 / 0.5411 GB, free: 5.453 MB / 398.1 MB Notification: Performance of Templates: time 0.005111/0.3238, allocations: 1.982 MB / 0.543 GB, free: 4.453 MB / 398.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