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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001914/0.001914, allocations: 109.6 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002399/0.002399, allocations: 211.9 kB / 23.53 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.2 MB / 256.8 MB, free: 8.648 MB / 206.1 MB [Timeout remaining time 88] 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.001848/0.001848, allocations: 67.89 kB / 376.9 MB, free: 3.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2662, allocations: 53.32 MB / 430.2 MB, free: 7.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4296/0.6958, allocations: 152.6 MB / 0.5692 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.6981, allocations: 2.551 MB / 0.5717 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.6981, allocations: 0 / 0.5717 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.6983, allocations: 27.56 kB / 0.5717 GB, free: 13.15 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009411/0.6992, allocations: 337.1 kB / 0.572 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.6994, allocations: 65.39 kB / 0.5721 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.6996, allocations: 104 kB / 0.5722 GB, free: 13 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.6996, allocations: 2.875 kB / 0.5722 GB, free: 13 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.6997, allocations: 40.59 kB / 0.5722 GB, free: 13 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.471e-05/0.6998, allocations: 40.09 kB / 0.5722 GB, free: 13 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.6998, allocations: 7.344 kB / 0.5722 GB, free: 13 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006988/0.7005, allocations: 369.5 kB / 0.5726 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.7005, allocations: 12.22 kB / 0.5726 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.646e-05/0.7006, allocations: 41.56 kB / 0.5727 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004817/0.7011, allocations: 318 kB / 0.573 GB, free: 12.95 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7011, allocations: 0 / 0.573 GB, free: 12.95 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.7011, allocations: 5.844 kB / 0.573 GB, free: 12.95 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.7011, allocations: 0 / 0.573 GB, free: 12.95 MB / 462.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.0009596/0.702, allocations: 464.9 kB / 0.5734 GB, free: 12.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.7021, allocations: 10.12 kB / 0.5734 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005895/0.708, allocations: 461.8 kB / 0.5739 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.7081, allocations: 178.7 kB / 0.574 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.7082, allocations: 10.62 kB / 0.574 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.984e-05/0.7082, allocations: 4.969 kB / 0.574 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007166/0.709, allocations: 297.8 kB / 0.5743 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.709, allocations: 4.172 kB / 0.5743 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.709, allocations: 1.203 kB / 0.5743 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.709, allocations: 2.875 kB / 0.5743 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007531/0.7098, allocations: 277.4 kB / 0.5746 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.7101, allocations: 246.3 kB / 0.5748 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.7105, allocations: 152.8 kB / 0.575 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.7107, allocations: 86.44 kB / 0.5751 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.7107, allocations: 0 / 0.5751 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.7108, allocations: 36.84 kB / 0.5751 GB, free: 12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.273e-06/0.7108, allocations: 0 / 0.5751 GB, free: 12 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002145/0.7129, allocations: 0.5791 MB / 0.5757 GB, free: 11.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.713, allocations: 62.09 kB / 0.5757 GB, free: 11.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.837e-05/0.7131, allocations: 111.9 kB / 0.5758 GB, free: 11.76 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.7131, allocations: 29.33 kB / 0.5759 GB, free: 11.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.7131, allocations: 86.08 kB / 0.5759 GB, free: 11.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.643e-05/0.7132, allocations: 85.2 kB / 0.576 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.7133, allocations: 42.5 kB / 0.5761 GB, free: 11.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.7135, allocations: 324.9 kB / 0.5764 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.7138, allocations: 104 kB / 0.5765 GB, free: 11.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.714, allocations: 103.1 kB / 0.5766 GB, free: 11.26 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005588/0.7146, allocations: 222.8 kB / 0.5768 GB, free: 11.24 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.7146, allocations: 0 / 0.5768 GB, free: 11.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006892/0.7153, allocations: 287.3 kB / 0.577 GB, free: 11.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.7153, allocations: 5.344 kB / 0.5771 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.7153, allocations: 6.141 kB / 0.5771 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.7153, allocations: 2.5 kB / 0.5771 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/0.7158, allocations: 64.41 kB / 0.5771 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.7158, allocations: 0 / 0.5771 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.7161, allocations: 15.38 kB / 0.5771 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/0.7161, allocations: 10.08 kB / 0.5771 GB, free: 11.18 MB / 462.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.0001322/0.7162, allocations: 121.2 kB / 0.5773 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.7163, allocations: 9.516 kB / 0.5773 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008798/0.7172, allocations: 363.5 kB / 0.5776 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.7172, allocations: 3.938 kB / 0.5776 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7172, allocations: 2.781 kB / 0.5776 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.7172, allocations: 2.766 kB / 0.5776 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.7187, allocations: 0.7177 MB / 0.5783 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7187, allocations: 2.469 kB / 0.5783 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/0.7191, allocations: 65.41 kB / 0.5784 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.7192, allocations: 2.25 kB / 0.5784 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.7192, allocations: 13 kB / 0.5784 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.7192, allocations: 2.688 kB / 0.5784 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.7192, allocations: 4 kB / 0.5784 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/0.7199, allocations: 411.4 kB / 0.5788 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.72, allocations: 91.95 kB / 0.5789 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.72, allocations: 6.469 kB / 0.5789 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.7203, allocations: 14.73 kB / 0.5789 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.7204, allocations: 22.75 kB / 0.5789 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.7204, allocations: 18.33 kB / 0.579 GB, free: 10.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.374e-05/0.7205, allocations: 91.5 kB / 0.579 GB, free: 10.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7205, allocations: 0 / 0.579 GB, free: 10.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003585/0.7208, allocations: 60.28 kB / 0.5791 GB, free: 10.24 MB / 462.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.0002359/0.7211, allocations: 123.1 kB / 0.5792 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006727/0.7217, allocations: 244.4 kB / 0.5795 GB, free: 10.13 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7217, allocations: 4 kB / 0.5795 GB, free: 10.13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.7221, allocations: 126.9 kB / 0.5796 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005459/0.7226, allocations: 64.5 kB / 0.5796 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009644/0.7236, allocations: 377.3 kB / 0.58 GB, free: 9.871 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.7239, allocations: 0.7044 MB / 0.5807 GB, free: 9.176 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.7241, allocations: 42.17 kB / 0.5807 GB, free: 9.164 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.7241, allocations: 0 / 0.5807 GB, free: 9.164 MB / 462.1 MB Notification: Performance of Templates: time 0.005134/0.7292, allocations: 2.933 MB / 0.5836 GB, free: 7.949 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/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