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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001187, allocations: 87.67 kB / 21.19 MB, free: 3.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9965/0.9965, allocations: 177 MB / 204.8 MB, free: 5.168 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2696/0.2696, allocations: 34.86 MB / 296.3 MB, free: 492 kB / 266.7 MB " [Timeout remaining time 180] 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=5010,variableFilter="time|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=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.74e-05, allocations: 2.312 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.006135/0.006163, allocations: 2.11 MB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009229/0.007086, allocations: 0.5843 MB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.007168, allocations: 0 / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.007268, allocations: 23.8 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.516e-05/0.007364, allocations: 39.58 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003377/0.01074, allocations: 87.73 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.01098, allocations: 191.2 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.01111, allocations: 29.78 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.01134, allocations: 111.8 kB / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.01147, allocations: 67.78 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.01151, allocations: 19.94 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.844e-05/0.01157, allocations: 16 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.267e-05/0.01161, allocations: 31.91 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.371e-05/0.01167, allocations: 55.83 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.01191, allocations: 127.6 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.01191, allocations: 0 / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01191, allocations: 4 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.01192, allocations: 4 kB / 382.3 MB, free: 14.53 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.0006324/0.01255, allocations: 484.1 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.01259, allocations: 12.03 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.01274, allocations: 24.84 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.01296, allocations: 168.9 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.01298, allocations: 16.59 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.01301, allocations: 12.38 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.01331, allocations: 211 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.01332, allocations: 11.81 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.01334, allocations: 4 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.01335, allocations: 4 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.01349, allocations: 66.12 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003744/0.01723, allocations: 0.7286 MB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.01743, allocations: 103 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.377e-05/0.0175, allocations: 43.92 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.01753, allocations: 8 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.01755, allocations: 33.39 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/0.01755, allocations: 0 / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007892/0.01834, allocations: 296.2 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.01837, allocations: 59.41 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.0185, allocations: 200.7 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.01852, allocations: 33.7 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.0186, allocations: 159.2 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.01865, allocations: 79.34 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/0.01871, allocations: 35.38 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.01884, allocations: 0.5001 MB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.01891, allocations: 27.98 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-05/0.019, allocations: 78.66 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.01918, allocations: 122.1 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01918, allocations: 0 / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.003261/0.02244, allocations: 157.4 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.02246, allocations: 4 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.02246, allocations: 4 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.02248, allocations: 0 / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.02269, allocations: 48.06 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.0227, allocations: 3.938 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.958e-05/0.02278, allocations: 12 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.02279, allocations: 4 kB / 386 MB, free: 10.56 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 9.332e-05/0.02289, allocations: 172.5 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.02293, allocations: 27.84 kB / 386.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.02297, allocations: 13.12 kB / 386.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.02297, allocations: 4 kB / 386.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.02297, allocations: 0 / 386.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.02298, allocations: 0 / 386.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006197/0.0236, allocations: 0.5217 MB / 386.7 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.0236, allocations: 0 / 386.7 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.02375, allocations: 35.97 kB / 386.7 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.02375, allocations: 4 kB / 386.7 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.02376, allocations: 7.938 kB / 386.7 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.02377, allocations: 0 / 386.7 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.02377, allocations: 0 / 386.7 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.02403, allocations: 298.8 kB / 387 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.02408, allocations: 31.88 kB / 387.1 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.02411, allocations: 11.92 kB / 387.1 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.02422, allocations: 12 kB / 387.1 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.02428, allocations: 11.97 kB / 387.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.02429, allocations: 12 kB / 387.1 MB, free: 9.332 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.059e-05/0.02436, allocations: 148.2 kB / 387.3 MB, free: 9.188 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02436, allocations: 0 / 387.3 MB, free: 9.188 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000261/0.02463, allocations: 40 kB / 387.3 MB, free: 9.148 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 0.0001001/0.02473, allocations: 95.19 kB / 387.4 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.02496, allocations: 111.6 kB / 387.5 MB, free: 8.934 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02496, allocations: 4 kB / 387.5 MB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.375e-05/0.02505, allocations: 63.59 kB / 387.6 MB, free: 8.863 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/0.02836, allocations: 23.98 kB / 387.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000991/0.02935, allocations: 358.8 kB / 387.9 MB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.362e-05/0.0294, allocations: 72.56 kB / 388 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.02952, allocations: 25.48 kB / 388 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.36e-05/0.02959, allocations: 20.5 kB / 388.1 MB, free: 8.324 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/0.02959, allocations: 0 / 388.1 MB, free: 8.324 MB / 362.7 MB Notification: Performance of Templates: time 0.007202/0.0368, allocations: 1.968 MB / 390 MB, free: 6.387 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.2207957599312067]