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.001566/0.001566, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001912/0.001912, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2171/0.2171, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 75.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3152, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.0033/0.3185, allocations: 2.063 MB / 0.5337 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3197, allocations: 0.6079 MB / 0.5343 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.3198, allocations: 2.75 kB / 0.5343 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.32, allocations: 17.17 kB / 0.5343 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.3201, allocations: 41.12 kB / 0.5343 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.3206, allocations: 89.56 kB / 0.5344 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.3208, allocations: 180.3 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.321, allocations: 38.17 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.3212, allocations: 82.25 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.3214, allocations: 87.17 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.3214, allocations: 12.38 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.125e-05/0.3215, allocations: 16.5 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.3215, allocations: 47.88 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.99e-05/0.3216, allocations: 74.22 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.3219, allocations: 176.1 kB / 0.5351 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3219, allocations: 0 / 0.5351 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3219, allocations: 0.8438 kB / 0.5351 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3219, allocations: 0 / 0.5351 GB, free: 10.96 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.0008277/0.3228, allocations: 468.1 kB / 0.5355 GB, free: 10.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3228, allocations: 9.094 kB / 0.5355 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.323, allocations: 22.5 kB / 0.5356 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.3233, allocations: 215.1 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.3233, allocations: 10.11 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.3233, allocations: 15.72 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.3237, allocations: 170.8 kB / 0.536 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3238, allocations: 3.906 kB / 0.536 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.3238, allocations: 10.44 kB / 0.536 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3238, allocations: 2.125 kB / 0.536 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.3241, allocations: 116.8 kB / 0.5361 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009092/0.325, allocations: 0.6871 MB / 0.5368 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.3254, allocations: 135.8 kB / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.3255, allocations: 61.52 kB / 0.5369 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.3256, allocations: 5.156 kB / 0.537 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.3256, allocations: 32.75 kB / 0.537 GB, free: 9.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.572e-06/0.3256, allocations: 0 / 0.537 GB, free: 9.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001419/0.3271, allocations: 410.2 kB / 0.5374 GB, free: 9.023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.3271, allocations: 57.59 kB / 0.5374 GB, free: 8.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.3273, allocations: 159.8 kB / 0.5376 GB, free: 8.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.3273, allocations: 30.77 kB / 0.5376 GB, free: 8.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.3274, allocations: 121.5 kB / 0.5377 GB, free: 8.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.3274, allocations: 63.55 kB / 0.5378 GB, free: 8.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.96e-05/0.3275, allocations: 37.86 kB / 0.5378 GB, free: 8.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3277, allocations: 325.5 kB / 0.5381 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.3279, allocations: 67.33 kB / 0.5382 GB, free: 8.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.3281, allocations: 99.72 kB / 0.5383 GB, free: 8.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.3285, allocations: 171 kB / 0.5385 GB, free: 8.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3285, allocations: 4 kB / 0.5385 GB, free: 8.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005255/0.3291, allocations: 218.5 kB / 0.5387 GB, free: 7.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3291, allocations: 5.188 kB / 0.5387 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3291, allocations: 6 kB / 0.5387 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/0.3292, allocations: 1.844 kB / 0.5387 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.3295, allocations: 48.91 kB / 0.5387 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.3295, allocations: 9.312 kB / 0.5387 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.3297, allocations: 14.83 kB / 0.5388 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.3297, allocations: 5.844 kB / 0.5388 GB, free: 7.906 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.0001521/0.3299, allocations: 128.7 kB / 0.5389 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.3299, allocations: 19.89 kB / 0.5389 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.378e-05/0.33, allocations: 19.44 kB / 0.5389 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.33, allocations: 2.469 kB / 0.5389 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.33, allocations: 3.938 kB / 0.5389 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.33, allocations: 5.312 kB / 0.5389 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.3311, allocations: 0.6084 MB / 0.5395 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3311, allocations: 0 / 0.5395 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.3314, allocations: 48.45 kB / 0.5396 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.3314, allocations: 5.312 kB / 0.5396 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.3314, allocations: 5.562 kB / 0.5396 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3314, allocations: 0 / 0.5396 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3314, allocations: 0 / 0.5396 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.3319, allocations: 303.9 kB / 0.5399 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.3321, allocations: 110.5 kB / 0.54 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.3321, allocations: 1.562 kB / 0.54 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.3323, allocations: 18.61 kB / 0.54 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.3324, allocations: 18.86 kB / 0.54 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.3324, allocations: 3.25 kB / 0.54 GB, free: 6.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.094e-05/0.3325, allocations: 117.3 kB / 0.5401 GB, free: 6.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3325, allocations: 0 / 0.5401 GB, free: 6.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000296/0.3328, allocations: 36.59 kB / 0.5402 GB, free: 6.734 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.000139/0.333, allocations: 103.6 kB / 0.5403 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005275/0.3335, allocations: 168.3 kB / 0.5404 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3335, allocations: 1.25 kB / 0.5404 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.3338, allocations: 87.05 kB / 0.5405 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.3341, allocations: 29.95 kB / 0.5405 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008546/0.335, allocations: 397.4 kB / 0.5409 GB, free: 6.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.3353, allocations: 0.7152 MB / 0.5416 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.3354, allocations: 21.83 kB / 0.5416 GB, free: 5.496 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3354, allocations: 0 / 0.5416 GB, free: 5.496 MB / 398.1 MB Notification: Performance of Templates: time 0.005015/0.3404, allocations: 2.148 MB / 0.5437 GB, free: 4.367 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