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.0008435/0.0008435, allocations: 80.34 kB / 20.67 MB, free: 3.883 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.001007/0.001007, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 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.895/0.895, allocations: 177 MB / 204.1 MB, free: 5.746 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.2389/0.2389, allocations: 34.23 MB / 294.8 MB, free: 0.6875 MB / 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.38e-05, allocations: 2.281 kB / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.1754/0.1754, allocations: 2.004 MB / 444.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008209/0.1762, allocations: 0.5733 MB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.305e-05/0.1763, allocations: 6.719 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.94e-05/0.1764, allocations: 21.25 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.027e-05/0.1765, allocations: 44.64 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.1768, allocations: 80.86 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.1769, allocations: 187.6 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.177, allocations: 33.81 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.1772, allocations: 120.2 kB / 445.2 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.764e-05/0.1773, allocations: 61.86 kB / 445.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.1773, allocations: 16.72 kB / 445.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.068e-05/0.1773, allocations: 17.5 kB / 445.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.1774, allocations: 37.66 kB / 445.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.1774, allocations: 53.48 kB / 445.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.1776, allocations: 186.4 kB / 445.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1776, allocations: 1.844 kB / 445.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1776, allocations: 0 / 445.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1776, allocations: 2.875 kB / 445.6 MB, free: 43.04 MB / 410.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.0004532/0.178, allocations: 386.6 kB / 446 MB, free: 42.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1781, allocations: 8.875 kB / 446 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.1781, allocations: 51.73 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.566e-05/0.1782, allocations: 26.39 kB / 446.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.1783, allocations: 153.3 kB / 446.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.1783, allocations: 12.95 kB / 446.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.1784, allocations: 12.03 kB / 446.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.1786, allocations: 220.2 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.1786, allocations: 7.5 kB / 446.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1786, allocations: 5.219 kB / 446.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1786, allocations: 2.688 kB / 446.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.1787, allocations: 106 kB / 446.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.1792, allocations: 0.6207 MB / 447.2 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1794, allocations: 131.4 kB / 447.3 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.143e-05/0.1794, allocations: 56.92 kB / 447.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1795, allocations: 0.9844 kB / 447.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.1795, allocations: 40.78 kB / 447.4 MB, free: 41.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.1795, allocations: 0 / 447.4 MB, free: 41.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006928/0.1802, allocations: 408.3 kB / 447.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.1802, allocations: 54.22 kB / 447.9 MB, free: 41.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.636e-05/0.1803, allocations: 154 kB / 448 MB, free: 41.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1803, allocations: 29.7 kB / 448 MB, free: 41.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.1803, allocations: 121.1 kB / 448.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.1803, allocations: 66.33 kB / 448.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.1804, allocations: 37.02 kB / 448.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.751e-05/0.1804, allocations: 324 kB / 448.6 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.293e-05/0.1805, allocations: 71.8 kB / 448.6 MB, free: 40.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.755e-05/0.1806, allocations: 99.19 kB / 448.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.1808, allocations: 176.3 kB / 448.9 MB, free: 40.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1808, allocations: 0 / 448.9 MB, free: 40.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000235/0.181, allocations: 222.6 kB / 449.1 MB, free: 40.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.181, allocations: 9.656 kB / 449.1 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1811, allocations: 4.75 kB / 449.1 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1811, allocations: 0 / 449.1 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.1812, allocations: 46.45 kB / 449.2 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1812, allocations: 2.938 kB / 449.2 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.659e-05/0.1813, allocations: 20.11 kB / 449.2 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1813, allocations: 2.906 kB / 449.2 MB, free: 40.57 MB / 410.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 5.264e-05/0.1813, allocations: 130.4 kB / 449.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.1814, allocations: 30.28 kB / 449.4 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.1814, allocations: 25.59 kB / 449.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1814, allocations: 0 / 449.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1814, allocations: 0 / 449.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1814, allocations: 6.188 kB / 449.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.1819, allocations: 0.5514 MB / 450 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1819, allocations: 7.938 kB / 450 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.182, allocations: 42.53 kB / 450 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.182, allocations: 0 / 450 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.182, allocations: 6.156 kB / 450 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.182, allocations: 0 / 450 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.182, allocations: 0 / 450 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.1822, allocations: 302.3 kB / 450.3 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.1823, allocations: 46.36 kB / 450.3 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.1823, allocations: 0 / 450.3 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.1824, allocations: 15.03 kB / 450.4 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.1824, allocations: 19.17 kB / 450.4 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.1824, allocations: 2.875 kB / 450.4 MB, free: 39.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.324e-05/0.1824, allocations: 121.7 kB / 450.5 MB, free: 39.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1824, allocations: 0 / 450.5 MB, free: 39.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001628/0.1826, allocations: 39.64 kB / 450.5 MB, free: 39.68 MB / 410.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.0003306/0.1829, allocations: 0.8347 MB / 451.4 MB, free: 38.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.1832, allocations: 162 kB / 451.5 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1832, allocations: 0 / 451.5 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.863e-05/0.1833, allocations: 84.55 kB / 451.6 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.1835, allocations: 25.39 kB / 451.6 MB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.1848, allocations: 2.018 MB / 453.7 MB, free: 37.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.541e-05/0.1849, allocations: 104.6 kB / 453.8 MB, free: 37.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.147e-05/0.185, allocations: 31.64 kB / 453.8 MB, free: 37.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.185, allocations: 44.25 kB / 453.8 MB, free: 37.24 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.185, allocations: 0 / 453.8 MB, free: 37.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.1994, allocations: 4.482 MB / 458.3 MB, free: 36.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.874/7.074, allocations: 4.094 kB / 458.3 MB, free: 36.12 MB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --stepSize=0.000199601 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.035248778760433]