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.001043/0.001043, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001727/0.002771, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001061/0.001061, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.002468, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9847/0.9847, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1023/1.087, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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.2751/0.2751, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0249/0.3, allocations: 13.24 MB / 292.8 MB, free: 6.379 MB / 282.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.693e-06/1.693e-06, allocations: 0 / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.25e-05, allocations: 5.906 kB / 294.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002337/0.002359, allocations: 2.154 MB / 296.3 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007862/0.003146, allocations: 0.6003 MB / 296.9 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.504e-05/0.003231, allocations: 3.938 kB / 296.9 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.506e-05/0.003296, allocations: 23.78 kB / 296.9 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.064e-05/0.003376, allocations: 43.58 kB / 296.9 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.003649, allocations: 79.81 kB / 297 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.00384, allocations: 191.2 kB / 297.2 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.003934, allocations: 34.44 kB / 297.2 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.004129, allocations: 131.6 kB / 297.4 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.004241, allocations: 63.84 kB / 297.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.004266, allocations: 16 kB / 297.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.009e-05/0.004326, allocations: 16 kB / 297.5 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.004351, allocations: 23.88 kB / 297.5 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.004392, allocations: 39.94 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.004567, allocations: 115.6 kB / 297.6 MB, free: 1.539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.004578, allocations: 0 / 297.6 MB, free: 1.539 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004579, allocations: 0 / 297.6 MB, free: 1.539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.004588, allocations: 0 / 297.6 MB, free: 1.539 MB / 282.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.0004958/0.005084, allocations: 401.2 kB / 298 MB, free: 1.121 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.005112, allocations: 8.031 kB / 298 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.005251, allocations: 106 kB / 298.1 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.005406, allocations: 142.1 kB / 298.3 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.005417, allocations: 8.609 kB / 298.3 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.005445, allocations: 12.38 kB / 298.3 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.00564, allocations: 202.4 kB / 298.5 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.005651, allocations: 7.938 kB / 298.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.005664, allocations: 4 kB / 298.5 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.005669, allocations: 4 kB / 298.5 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.404e-05/0.005743, allocations: 47.91 kB / 298.6 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.006313, allocations: 483.5 kB / 299 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.006442, allocations: 74.73 kB / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/0.006478, allocations: 37.03 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.006496, allocations: 4 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.00652, allocations: 42.5 kB / 299.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.006522, allocations: 0 / 299.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004946/0.007016, allocations: 239.8 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.007039, allocations: 51.41 kB / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.007112, allocations: 146.5 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.007127, allocations: 29.7 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.007173, allocations: 128.3 kB / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.007206, allocations: 63.42 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.007251, allocations: 37.69 kB / 299.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.719e-05/0.007318, allocations: 326.8 kB / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/0.007349, allocations: 19.98 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.612e-05/0.007395, allocations: 60.78 kB / 300.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.813e-05/0.007484, allocations: 91.31 kB / 300.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.007485, allocations: 0 / 300.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001247/0.00761, allocations: 118.9 kB / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.007623, allocations: 8 kB / 300.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.007627, allocations: 0 / 300.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.007638, allocations: 0 / 300.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.007853, allocations: 59.89 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.007857, allocations: 0 / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.302e-05/0.00791, allocations: 12 kB / 300.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.007921, allocations: 12.08 kB / 300.6 MB, free: 14.39 MB / 298.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 6.833e-05/0.007989, allocations: 121.7 kB / 300.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.008015, allocations: 15.98 kB / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.008041, allocations: 21.12 kB / 300.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.008043, allocations: 0 / 300.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.008045, allocations: 0 / 300.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.008049, allocations: 3.984 kB / 300.7 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.008421, allocations: 372.7 kB / 301.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.008424, allocations: 11.98 kB / 301.1 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.00856, allocations: 51.89 kB / 301.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.008595, allocations: 11.91 kB / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.008597, allocations: 7.938 kB / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.00861, allocations: 7.938 kB / 301.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.008612, allocations: 0 / 301.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.008614, allocations: 0 / 301.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.008753, allocations: 203.4 kB / 301.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.008767, allocations: 0 / 301.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.814e-05/0.008845, allocations: 23.92 kB / 301.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.008888, allocations: 15.97 kB / 301.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.008897, allocations: 4 kB / 301.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.98e-05/0.008927, allocations: 38.23 kB / 301.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008927, allocations: 0 / 301.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000149/0.009076, allocations: 36 kB / 301.5 MB, free: 13.41 MB / 298.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.608e-05/0.009162, allocations: 80.36 kB / 301.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.009288, allocations: 84.02 kB / 301.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.009295, allocations: 8.281 kB / 301.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.413e-05/0.009359, allocations: 68.72 kB / 301.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.009567, allocations: 119.7 kB / 301.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.01105, allocations: 365.7 kB / 302.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.01135, allocations: 72.56 kB / 302.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.751e-05/0.01144, allocations: 25.48 kB / 302.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.01157, allocations: 91.33 kB / 302.4 MB, free: 12.44 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01157, allocations: 0 / 302.4 MB, free: 12.44 MB / 298.7 MB Notification: Performance of Templates: time 0.003735/0.01531, allocations: 2.294 MB / 304.7 MB, free: 10.19 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8221961176022887]