Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009822/0.0009822, allocations: 83.58 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 161 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9826/0.9826, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2767/0.2767, allocations: 34.25 MB / 295.7 MB, free: 0.7773 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 3.938 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.488e-05/3.673e-05, allocations: 5.969 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.004087/0.004124, allocations: 2.101 MB / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.005405, allocations: 0.5882 MB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.005524, allocations: 0 / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.005656, allocations: 15.8 kB / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.005764, allocations: 43.62 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.006117, allocations: 91.69 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.006313, allocations: 187.2 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.006442, allocations: 29.8 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.006648, allocations: 111.8 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.006764, allocations: 67.84 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.00679, allocations: 12 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.079e-05/0.006841, allocations: 19.94 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.00687, allocations: 39.81 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.221e-05/0.006922, allocations: 59.89 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.007127, allocations: 131.5 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.00713, allocations: 0 / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.007132, allocations: 0 / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.007139, allocations: 0 / 381.5 MB, free: 15.14 MB / 362.7 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.000563/0.007702, allocations: 484.1 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.007741, allocations: 8.031 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.007856, allocations: 40.83 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.008063, allocations: 152.9 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.008077, allocations: 12.61 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.008114, allocations: 12.38 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.008365, allocations: 215 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.00838, allocations: 11.86 kB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.008396, allocations: 4 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.008405, allocations: 4 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.008521, allocations: 67.95 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006329/0.009154, allocations: 0.7168 MB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.009321, allocations: 111 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.009377, allocations: 39.92 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.009399, allocations: 4 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.009422, allocations: 41.39 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.009423, allocations: 4 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005759/0.009999, allocations: 295.6 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.01003, allocations: 55.39 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.01014, allocations: 204.9 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.01016, allocations: 29.7 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.01023, allocations: 167.2 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.01027, allocations: 67.38 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.01033, allocations: 43.36 kB / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.01046, allocations: 0.4923 MB / 384.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.647e-05/0.01052, allocations: 31.98 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.0106, allocations: 81.66 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.01073, allocations: 118.6 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01073, allocations: 0 / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001941/0.01093, allocations: 156.2 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.01094, allocations: 8.094 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01095, allocations: 0 / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.01097, allocations: 4 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.01112, allocations: 47.97 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01113, allocations: 3.938 kB / 385.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.802e-05/0.01119, allocations: 7.984 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.0112, allocations: 12 kB / 385.2 MB, free: 11.17 MB / 362.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 (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 8.426e-05/0.01129, allocations: 164.5 kB / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.01132, allocations: 19.91 kB / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.01135, allocations: 25.12 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.01136, allocations: 11.98 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.01136, allocations: 0 / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01137, allocations: 0 / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.01187, allocations: 0.5139 MB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01187, allocations: 0 / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.01198, allocations: 39.97 kB / 386 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.01199, allocations: 0 / 386 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.012, allocations: 7.938 kB / 386 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.012, allocations: 7.984 kB / 386 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.012, allocations: 0 / 386 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.01222, allocations: 295.7 kB / 386.3 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.01226, allocations: 31.88 kB / 386.3 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.01228, allocations: 3.938 kB / 386.3 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.974e-05/0.01236, allocations: 15.98 kB / 386.4 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.01242, allocations: 15.97 kB / 386.4 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.01243, allocations: 4 kB / 386.4 MB, free: 9.949 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.986e-05/0.01249, allocations: 153.6 kB / 386.5 MB, free: 9.801 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01249, allocations: 0 / 386.5 MB, free: 9.801 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.01267, allocations: 40 kB / 386.6 MB, free: 9.762 MB / 362.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 (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.48e-05/0.01276, allocations: 99.19 kB / 386.7 MB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.01296, allocations: 100.8 kB / 386.8 MB, free: 9.555 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01296, allocations: 4 kB / 386.8 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.432e-05/0.01304, allocations: 66.17 kB / 386.8 MB, free: 9.484 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.01328, allocations: 30 kB / 386.9 MB, free: 9.457 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008711/0.01415, allocations: 362.8 kB / 387.2 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.85e-05/0.0142, allocations: 68.58 kB / 387.3 MB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.808e-05/0.01429, allocations: 33.47 kB / 387.3 MB, free: 8.949 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.01436, allocations: 24.48 kB / 387.3 MB, free: 8.926 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01436, allocations: 0 / 387.3 MB, free: 8.926 MB / 362.7 MB Notification: Performance of Templates: time 0.003831/0.01819, allocations: 1.948 MB / 389.3 MB, free: 6.996 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.298095765989274]