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/ModelicaServices trunk/package.mo", uses=false) 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/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 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=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/ModelicaServices trunk/package.mo): time 0.001236/0.001236, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1954/0.1954, allocations: 46.1 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 79.88 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2808, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002953/0.2838, allocations: 2.053 MB / 0.5337 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2849, allocations: 0.6039 MB / 0.5343 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.377e-05/0.285, allocations: 6.375 kB / 0.5343 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.2851, allocations: 22.34 kB / 0.5343 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.2852, allocations: 40.05 kB / 0.5343 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.2857, allocations: 86.19 kB / 0.5344 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.2859, allocations: 184.3 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.2861, allocations: 43.58 kB / 0.5346 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.2863, allocations: 89.31 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.2864, allocations: 78.17 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.2864, allocations: 13.62 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.147e-05/0.2865, allocations: 15.34 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.934e-05/0.2866, allocations: 39.97 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.84e-05/0.2866, allocations: 74.53 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.2869, allocations: 184.7 kB / 0.5351 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2869, allocations: 0 / 0.5351 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2869, allocations: 0 / 0.5351 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.2869, allocations: 0 / 0.5351 GB, free: 10.95 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.0008054/0.2878, allocations: 472.6 kB / 0.5356 GB, free: 10.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2878, allocations: 8.25 kB / 0.5356 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.288, allocations: 27.86 kB / 0.5356 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.2882, allocations: 211.8 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.2883, allocations: 8.734 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.2883, allocations: 16.38 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.2886, allocations: 170 kB / 0.536 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.2887, allocations: 9.219 kB / 0.536 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.2887, allocations: 5.375 kB / 0.536 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2887, allocations: 2.75 kB / 0.536 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.289, allocations: 104.3 kB / 0.5361 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008768/0.2899, allocations: 0.6824 MB / 0.5368 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.2902, allocations: 143.9 kB / 0.5369 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.2904, allocations: 61.89 kB / 0.537 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.2904, allocations: 5.438 kB / 0.537 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.2904, allocations: 32.06 kB / 0.537 GB, free: 9.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.2905, allocations: 0 / 0.537 GB, free: 9.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001285/0.2917, allocations: 407.9 kB / 0.5374 GB, free: 9.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.2918, allocations: 53.69 kB / 0.5374 GB, free: 8.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.2919, allocations: 154.4 kB / 0.5376 GB, free: 8.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.292, allocations: 30.83 kB / 0.5376 GB, free: 8.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.292, allocations: 118.1 kB / 0.5377 GB, free: 8.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.2921, allocations: 71.83 kB / 0.5378 GB, free: 8.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.232e-05/0.2922, allocations: 37.73 kB / 0.5378 GB, free: 8.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2923, allocations: 333.6 kB / 0.5381 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.2925, allocations: 63.05 kB / 0.5382 GB, free: 8.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.2927, allocations: 99.39 kB / 0.5383 GB, free: 8.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.293, allocations: 170.6 kB / 0.5385 GB, free: 8.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.293, allocations: 0 / 0.5385 GB, free: 8.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004445/0.2935, allocations: 222.6 kB / 0.5387 GB, free: 7.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2935, allocations: 13.88 kB / 0.5387 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2935, allocations: 1.344 kB / 0.5387 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.2936, allocations: 1.188 kB / 0.5387 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.2938, allocations: 53.36 kB / 0.5387 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.2939, allocations: 5.531 kB / 0.5387 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.294, allocations: 11.98 kB / 0.5388 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.294, allocations: 12.34 kB / 0.5388 GB, free: 7.891 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 9.877e-05/0.2941, allocations: 124.4 kB / 0.5389 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.2942, allocations: 15.94 kB / 0.5389 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.2942, allocations: 28.55 kB / 0.5389 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2942, allocations: 1.156 kB / 0.5389 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2943, allocations: 5.312 kB / 0.5389 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2943, allocations: 0 / 0.5389 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008897/0.2952, allocations: 0.6167 MB / 0.5395 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2952, allocations: 3.938 kB / 0.5395 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.2954, allocations: 44.06 kB / 0.5396 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2954, allocations: 1.156 kB / 0.5396 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.2954, allocations: 1.156 kB / 0.5396 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2955, allocations: 1.219 kB / 0.5396 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2955, allocations: 7.984 kB / 0.5396 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.2959, allocations: 306.3 kB / 0.5399 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-05/0.296, allocations: 103.3 kB / 0.54 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.296, allocations: 5.125 kB / 0.54 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.2962, allocations: 15.7 kB / 0.54 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.2963, allocations: 18.34 kB / 0.54 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.2963, allocations: 4.281 kB / 0.54 GB, free: 6.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.191e-05/0.2964, allocations: 117.4 kB / 0.5401 GB, free: 6.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2964, allocations: 0 / 0.5401 GB, free: 6.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.2967, allocations: 36 kB / 0.5402 GB, free: 6.719 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 9.988e-05/0.2968, allocations: 96.41 kB / 0.5403 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004281/0.2972, allocations: 175.7 kB / 0.5404 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2972, allocations: 1.656 kB / 0.5404 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.2974, allocations: 86.45 kB / 0.5405 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.2978, allocations: 27.17 kB / 0.5405 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/0.2984, allocations: 387.7 kB / 0.5409 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.2987, allocations: 0.723 MB / 0.5416 GB, free: 5.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.819e-05/0.2988, allocations: 21.5 kB / 0.5416 GB, free: 5.484 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2988, allocations: 0 / 0.5416 GB, free: 5.484 MB / 398.1 MB Notification: Performance of Templates: time 0.003462/0.3023, allocations: 2.147 MB / 0.5437 GB, free: 4.363 MB / 398.1 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/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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches