Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.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.001099/0.001099, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009079/0.0009079, allocations: 165 kB / 24.56 MB, free: 12 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.9532/0.9532, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.051e-05/3.264e-05, allocations: 2.312 kB / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2379/0.2379, allocations: 145.2 MB / 418.2 MB, free: 236 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.2398, allocations: 2.547 MB / 420.7 MB, free: 13.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.2399, allocations: 0 / 420.7 MB, free: 13.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.24, allocations: 30.94 kB / 420.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007361/0.2408, allocations: 348.7 kB / 421.1 MB, free: 13.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.2409, allocations: 63.66 kB / 421.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.241, allocations: 107.3 kB / 421.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.2411, allocations: 4 kB / 421.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.2412, allocations: 63.81 kB / 421.3 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.2412, allocations: 27.92 kB / 421.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.2412, allocations: 0 / 421.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.2417, allocations: 359.2 kB / 421.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.2417, allocations: 4 kB / 421.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.2417, allocations: 27.92 kB / 421.7 MB, free: 12.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.2421, allocations: 351.1 kB / 422.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2421, allocations: 0 / 422.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2421, allocations: 0 / 422.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.2421, allocations: 0 / 422.1 MB, free: 12.34 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005396/0.2427, allocations: 485 kB / 422.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.2427, allocations: 8.031 kB / 422.6 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/0.2456, allocations: 460.9 kB / 423 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.2458, allocations: 168.5 kB / 423.2 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.2458, allocations: 15.94 kB / 423.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.2458, allocations: 8 kB / 423.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.2462, allocations: 294 kB / 423.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.2462, allocations: 4 kB / 423.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.2462, allocations: 4 kB / 423.5 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.2462, allocations: 3.984 kB / 423.5 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.2466, allocations: 251.8 kB / 423.7 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.2471, allocations: 396.5 kB / 424.1 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003636/0.2474, allocations: 163.6 kB / 424.3 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.449e-05/0.2475, allocations: 59.66 kB / 424.3 MB, free: 9.945 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.2475, allocations: 8 kB / 424.3 MB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.2475, allocations: 33.39 kB / 424.4 MB, free: 9.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.2475, allocations: 0 / 424.4 MB, free: 9.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007107/0.2482, allocations: 351.5 kB / 424.7 MB, free: 9.547 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.2483, allocations: 55.34 kB / 424.8 MB, free: 9.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/0.2483, allocations: 181.9 kB / 425 MB, free: 9.285 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2484, allocations: 29.7 kB / 425 MB, free: 9.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.2484, allocations: 146.8 kB / 425.1 MB, free: 9.102 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.2485, allocations: 59.48 kB / 425.2 MB, free: 9.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.2485, allocations: 55.3 kB / 425.2 MB, free: 8.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.2486, allocations: 0.4884 MB / 425.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.2487, allocations: 51.97 kB / 425.8 MB, free: 8.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.2488, allocations: 110.4 kB / 425.9 MB, free: 8.301 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.249, allocations: 164.9 kB / 426 MB, free: 8.121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.249, allocations: 0.9375 kB / 426 MB, free: 8.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000249/0.2492, allocations: 212 kB / 426.3 MB, free: 7.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.2492, allocations: 4 kB / 426.3 MB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2492, allocations: 4 kB / 426.3 MB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.926e-06/0.2493, allocations: 4.125 kB / 426.3 MB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.2494, allocations: 51.89 kB / 426.3 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.2494, allocations: 0 / 426.3 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.439e-05/0.2495, allocations: 12 kB / 426.3 MB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.2495, allocations: 15.23 kB / 426.3 MB, free: 7.824 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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 7.811e-05/0.2496, allocations: 168.5 kB / 426.5 MB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.2497, allocations: 19.89 kB / 426.5 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/0.25, allocations: 231.1 kB / 426.8 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.25, allocations: 3.984 kB / 426.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.25, allocations: 0 / 426.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.25, allocations: 3.938 kB / 426.8 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.2505, allocations: 0.519 MB / 427.3 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2505, allocations: 4 kB / 427.3 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.2507, allocations: 35.97 kB / 427.3 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2507, allocations: 0 / 427.3 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.2507, allocations: 8 kB / 427.3 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.2507, allocations: 7.984 kB / 427.3 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2507, allocations: 3.938 kB / 427.3 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.2509, allocations: 351.6 kB / 427.7 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.251, allocations: 19.84 kB / 427.7 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.251, allocations: 0 / 427.7 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2511, allocations: 11.98 kB / 427.7 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.2511, allocations: 11.98 kB / 427.7 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.2511, allocations: 11.98 kB / 427.7 MB, free: 6.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.784e-05/0.2512, allocations: 135.2 kB / 427.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2512, allocations: 0 / 427.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.2514, allocations: 51.94 kB / 427.9 MB, free: 6.156 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 18 * 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.0001714/0.2516, allocations: 127.1 kB / 428 MB, free: 6.023 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.2518, allocations: 172.7 kB / 428.2 MB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2518, allocations: 0 / 428.2 MB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.2519, allocations: 91.52 kB / 428.3 MB, free: 5.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.2522, allocations: 54.17 kB / 428.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/0.2528, allocations: 287.9 kB / 428.6 MB, free: 5.402 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.043e-05/0.2529, allocations: 68 kB / 428.7 MB, free: 5.316 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001901/0.2531, allocations: 64.33 kB / 428.8 MB, free: 5.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.2532, allocations: 32.47 kB / 428.8 MB, free: 5.219 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2532, allocations: 0 / 428.8 MB, free: 5.219 MB / 378.7 MB Notification: Performance of Templates: time 0.00526/0.2584, allocations: 3.978 MB / 432.8 MB, free: 1.316 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.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: 2.925316031090915]