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.0009695/0.0009695, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001131/0.001131, allocations: 166.7 kB / 24.99 MB, free: 8.793 MB / 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 1.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2473/0.2473, allocations: 34.26 MB / 296 MB, free: 0.7852 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.803e-06/1.803e-06, allocations: 0 / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.103e-05, allocations: 6.25 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002821/0.002852, allocations: 2.108 MB / 380.1 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008013/0.003653, allocations: 0.5882 MB / 380.7 MB, free: 280 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.271e-05/0.003736, allocations: 4 kB / 380.7 MB, free: 276 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.003839, allocations: 15.8 kB / 380.7 MB, free: 260 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.66e-05/0.003925, allocations: 43.58 kB / 380.8 MB, free: 216 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.004219, allocations: 87.73 kB / 380.9 MB, free: 128 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.00441, allocations: 187.3 kB / 381 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.004527, allocations: 33.64 kB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.004703, allocations: 111.8 kB / 381.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.004815, allocations: 67.78 kB / 381.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.004839, allocations: 12 kB / 381.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.728e-05/0.004887, allocations: 20 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.004912, allocations: 31.89 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.004962, allocations: 55.84 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.005145, allocations: 131.5 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005147, allocations: 4 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005148, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.005152, allocations: 0 / 381.5 MB, free: 15.48 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.0005112/0.005663, allocations: 484.1 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.0057, allocations: 12.02 kB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.005826, allocations: 32.84 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.006003, allocations: 160.9 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.006014, allocations: 8.609 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.006044, allocations: 20.36 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.00628, allocations: 207 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.006292, allocations: 7.938 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.006307, allocations: 4 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.006315, allocations: 4 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.006426, allocations: 71.88 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.007004, allocations: 0.7246 MB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.007168, allocations: 111 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.007225, allocations: 39.67 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.007239, allocations: 0 / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.007262, allocations: 37.39 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.007263, allocations: 0 / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006342/0.007897, allocations: 300.5 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.007924, allocations: 51.41 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.008033, allocations: 204.9 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.00805, allocations: 29.7 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.008117, allocations: 167.2 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.008157, allocations: 75.34 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.008209, allocations: 39.38 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.008316, allocations: 0.4962 MB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.628e-05/0.008373, allocations: 27.98 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.663e-05/0.008449, allocations: 85.66 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.008585, allocations: 113.4 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.008586, allocations: 0 / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002028/0.008788, allocations: 157.5 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.008802, allocations: 7.984 kB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.008808, allocations: 4 kB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.00882, allocations: 8.094 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.008982, allocations: 39.97 kB / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.008988, allocations: 4 kB / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.976e-05/0.009048, allocations: 8 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.00906, allocations: 8 kB / 385.2 MB, free: 11.51 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.029e-05/0.00914, allocations: 172.4 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.009173, allocations: 23.91 kB / 385.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.009202, allocations: 21.12 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.009204, allocations: 0 / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.009208, allocations: 4 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.009212, allocations: 4 kB / 385.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.009683, allocations: 0.5206 MB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.009685, allocations: 0 / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.009796, allocations: 39.97 kB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.009797, allocations: 0 / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.00981, allocations: 7.938 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.009812, allocations: 4 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009812, allocations: 0 / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.01002, allocations: 299.7 kB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.01007, allocations: 23.89 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.01009, allocations: 11.92 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.034e-05/0.01017, allocations: 8 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.01022, allocations: 19.97 kB / 386.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.01023, allocations: 4 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.672e-05/0.01029, allocations: 153.6 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01029, allocations: 0 / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000182/0.01047, allocations: 36 kB / 386.5 MB, free: 10.1 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 8.463e-05/0.01056, allocations: 99.25 kB / 386.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.01075, allocations: 112.4 kB / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01075, allocations: 0 / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.68e-05/0.01082, allocations: 68.11 kB / 386.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.01105, allocations: 27.97 kB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007826/0.01184, allocations: 356.9 kB / 387.2 MB, free: 9.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.426e-05/0.01188, allocations: 72.56 kB / 387.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.838e-05/0.01198, allocations: 33.47 kB / 387.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.01204, allocations: 16.5 kB / 387.3 MB, free: 9.266 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01204, allocations: 0 / 387.3 MB, free: 9.266 MB / 362.7 MB Notification: Performance of Templates: time 0.003446/0.01548, allocations: 1.951 MB / 389.3 MB, free: 7.332 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.1061799719464034]