Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.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.001351/0.001351, allocations: 116.8 kB / 18.5 MB, free: 4.52 MB / 14.72 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.001367/0.001367, allocations: 212.9 kB / 21.46 MB, free: 1.566 MB / 14.72 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 1.451/1.451, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.88 kB / 373.8 MB, free: 9.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09591/0.0978, allocations: 53.31 MB / 427.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3757/0.4735, allocations: 152.6 MB / 0.5662 GB, free: 7.77 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.4763, allocations: 2.559 MB / 0.5687 GB, free: 5.207 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.4764, allocations: 0 / 0.5687 GB, free: 5.207 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.4765, allocations: 23.83 kB / 0.5687 GB, free: 5.184 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009011/0.4774, allocations: 337 kB / 0.569 GB, free: 4.855 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.4776, allocations: 67.73 kB / 0.5691 GB, free: 4.789 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.4777, allocations: 107.3 kB / 0.5692 GB, free: 4.684 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.4778, allocations: 0 / 0.5692 GB, free: 4.684 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.9e-05/0.4779, allocations: 35.86 kB / 0.5692 GB, free: 4.648 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.894e-05/0.4779, allocations: 51.7 kB / 0.5693 GB, free: 4.598 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.478, allocations: 0 / 0.5693 GB, free: 4.598 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007045/0.4787, allocations: 371.5 kB / 0.5696 GB, free: 4.234 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.4787, allocations: 15.91 kB / 0.5696 GB, free: 4.219 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.4787, allocations: 35.81 kB / 0.5697 GB, free: 4.184 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004798/0.4792, allocations: 308.4 kB / 0.57 GB, free: 3.887 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4792, allocations: 1.5 kB / 0.57 GB, free: 3.887 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4792, allocations: 4 kB / 0.57 GB, free: 3.883 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.4792, allocations: 4 kB / 0.57 GB, free: 3.879 MB / 478.1 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.0009684/0.4802, allocations: 462.7 kB / 0.5704 GB, free: 3.379 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.4802, allocations: 8.031 kB / 0.5704 GB, free: 3.371 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006376/0.4866, allocations: 468.2 kB / 0.5709 GB, free: 2.914 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.4868, allocations: 183.6 kB / 0.5711 GB, free: 2.695 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.4868, allocations: 4 kB / 0.5711 GB, free: 2.691 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.348e-05/0.4869, allocations: 8 kB / 0.5711 GB, free: 2.684 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008315/0.4877, allocations: 295.6 kB / 0.5713 GB, free: 2.391 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4877, allocations: 4 kB / 0.5714 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-05/0.4878, allocations: 8 kB / 0.5714 GB, free: 2.379 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4878, allocations: 0 / 0.5714 GB, free: 2.379 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008913/0.4887, allocations: 275.8 kB / 0.5716 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.489, allocations: 250 kB / 0.5719 GB, free: 1.816 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.4894, allocations: 150.7 kB / 0.572 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.4897, allocations: 87.09 kB / 0.5721 GB, free: 1.574 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.4897, allocations: 0 / 0.5721 GB, free: 1.574 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.4897, allocations: 38.56 kB / 0.5721 GB, free: 1.527 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.143e-06/0.4897, allocations: 0 / 0.5721 GB, free: 1.527 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.0023/0.492, allocations: 0.5811 MB / 0.5727 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.4921, allocations: 59.34 kB / 0.5727 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/0.4922, allocations: 105.8 kB / 0.5729 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.4922, allocations: 29.7 kB / 0.5729 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.4922, allocations: 88.58 kB / 0.573 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.812e-05/0.4923, allocations: 83.25 kB / 0.573 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.4924, allocations: 45.7 kB / 0.5731 GB, free: 0.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4926, allocations: 326.8 kB / 0.5734 GB, free: 176 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.4929, allocations: 95.92 kB / 0.5735 GB, free: 80 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.4932, allocations: 99.94 kB / 0.5736 GB, free: 15.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.4939, allocations: 233.1 kB / 0.5738 GB, free: 15.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4939, allocations: 0 / 0.5738 GB, free: 15.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007781/0.4947, allocations: 289.3 kB / 0.5741 GB, free: 15.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.4947, allocations: 4 kB / 0.5741 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4947, allocations: 0 / 0.5741 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.4947, allocations: 4 kB / 0.5741 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004426/0.4951, allocations: 55.89 kB / 0.5741 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.4951, allocations: 7.938 kB / 0.5742 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.4954, allocations: 11.98 kB / 0.5742 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.4954, allocations: 11.98 kB / 0.5742 GB, free: 15.37 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (24): * Single equations (assignments): 24 * 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 0.0001642/0.4956, allocations: 125.8 kB / 0.5743 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.4956, allocations: 11.95 kB / 0.5743 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.4967, allocations: 355.7 kB / 0.5746 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.4967, allocations: 7.938 kB / 0.5747 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4967, allocations: 3.938 kB / 0.5747 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.4967, allocations: 3.984 kB / 0.5747 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.4983, allocations: 0.718 MB / 0.5754 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4983, allocations: 8.156 kB / 0.5754 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.4987, allocations: 55.95 kB / 0.5754 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.4987, allocations: 4 kB / 0.5754 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.4987, allocations: 4 kB / 0.5754 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.4987, allocations: 11.92 kB / 0.5754 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4987, allocations: 0 / 0.5754 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008626/0.4996, allocations: 408.4 kB / 0.5758 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.4996, allocations: 93.02 kB / 0.5759 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.4997, allocations: 8 kB / 0.5759 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.5, allocations: 15.98 kB / 0.5759 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.5, allocations: 23.91 kB / 0.576 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.5001, allocations: 15.94 kB / 0.576 GB, free: 13.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.198e-05/0.5001, allocations: 87.27 kB / 0.5761 GB, free: 13.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5001, allocations: 0 / 0.5761 GB, free: 13.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003495/0.5005, allocations: 59.94 kB / 0.5761 GB, free: 13.25 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (26): * Single equations (assignments): 26 * 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.0002711/0.5007, allocations: 131.1 kB / 0.5762 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007685/0.5015, allocations: 239.7 kB / 0.5765 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.5015, allocations: 4 kB / 0.5765 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.5019, allocations: 123.8 kB / 0.5766 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.5024, allocations: 61.05 kB / 0.5767 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009629/0.5034, allocations: 346.5 kB / 0.577 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.5037, allocations: 0.7047 MB / 0.5777 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003008/0.504, allocations: 64.05 kB / 0.5777 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.5042, allocations: 47.34 kB / 0.5778 GB, free: 11.47 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5042, allocations: 0 / 0.5778 GB, free: 11.47 MB / 494.1 MB Notification: Performance of Templates: time 0.008038/0.5123, allocations: 4.154 MB / 0.5818 GB, free: 7.355 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_trunk_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.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: 4.790979445911944]