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.0008272/0.0008272, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.0008854/0.0008854, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 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.852/0.852, allocations: 177.1 MB / 204.3 MB, free: 5.715 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: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.389e-05, allocations: 6.219 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2694/0.2694, allocations: 131.3 MB / 455.9 MB, free: 5.688 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.2714, allocations: 2.256 MB / 458.1 MB, free: 5.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.263e-05/0.2715, allocations: 1.125 kB / 458.1 MB, free: 5.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.2717, allocations: 27.25 kB / 458.2 MB, free: 5.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009474/0.2726, allocations: 348.7 kB / 458.5 MB, free: 5.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.2728, allocations: 60.53 kB / 458.6 MB, free: 5.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.273, allocations: 112.6 kB / 458.7 MB, free: 5.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.525e-05/0.2731, allocations: 7.406 kB / 458.7 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.2732, allocations: 59.19 kB / 458.7 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.2733, allocations: 29.62 kB / 458.8 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.2733, allocations: 2.625 kB / 458.8 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006278/0.2739, allocations: 348.6 kB / 459.1 MB, free: 5.672 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.2739, allocations: 12.78 kB / 459.1 MB, free: 5.672 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.274, allocations: 32.23 kB / 459.1 MB, free: 5.672 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.2745, allocations: 351.4 kB / 459.5 MB, free: 5.652 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2745, allocations: 0 / 459.5 MB, free: 5.652 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2745, allocations: 1.953 kB / 459.5 MB, free: 5.652 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.2745, allocations: 0 / 459.5 MB, free: 5.652 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006665/0.2751, allocations: 393.2 kB / 459.9 MB, free: 5.352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.2752, allocations: 11.19 kB / 459.9 MB, free: 5.352 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.2752, allocations: 41.12 kB / 459.9 MB, free: 5.312 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/0.278, allocations: 485.1 kB / 460.4 MB, free: 5.309 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.186e-05/0.2781, allocations: 120.8 kB / 460.5 MB, free: 5.176 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.2781, allocations: 15.42 kB / 460.5 MB, free: 5.172 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.577e-05/0.2782, allocations: 9.125 kB / 460.5 MB, free: 5.172 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.2786, allocations: 299.1 kB / 460.8 MB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2787, allocations: 0 / 460.8 MB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.2787, allocations: 7.016 kB / 460.8 MB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2787, allocations: 2.781 kB / 460.8 MB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/0.2791, allocations: 277.8 kB / 461.1 MB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.2793, allocations: 202.8 kB / 461.3 MB, free: 4.953 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.2796, allocations: 150.5 kB / 461.5 MB, free: 4.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.2797, allocations: 80.22 kB / 461.5 MB, free: 4.922 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.2797, allocations: 6.062 kB / 461.5 MB, free: 4.922 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.2797, allocations: 34.78 kB / 461.6 MB, free: 4.883 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.893e-06/0.2797, allocations: 0 / 461.6 MB, free: 4.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.001154/0.2809, allocations: 0.5832 MB / 462.2 MB, free: 4.824 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.2809, allocations: 56.53 kB / 462.2 MB, free: 4.762 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.288e-05/0.2809, allocations: 109.9 kB / 462.3 MB, free: 4.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.2809, allocations: 32.89 kB / 462.4 MB, free: 4.629 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.639e-05/0.281, allocations: 85.23 kB / 462.4 MB, free: 4.547 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.281, allocations: 85.75 kB / 462.5 MB, free: 4.492 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.2811, allocations: 49.98 kB / 462.6 MB, free: 4.477 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.977e-05/0.2811, allocations: 322.7 kB / 462.9 MB, free: 4.164 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.2813, allocations: 97.45 kB / 463 MB, free: 4.164 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.2814, allocations: 106.3 kB / 463.1 MB, free: 4.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.2817, allocations: 224.1 kB / 463.3 MB, free: 4.152 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2817, allocations: 2.125 kB / 463.3 MB, free: 4.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003731/0.2821, allocations: 286.9 kB / 463.6 MB, free: 4.109 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2821, allocations: 4.719 kB / 463.6 MB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2821, allocations: 1 kB / 463.6 MB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2821, allocations: 1.875 kB / 463.6 MB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.2824, allocations: 56.69 kB / 463.6 MB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.2824, allocations: 3.188 kB / 463.7 MB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2825, allocations: 18.11 kB / 463.7 MB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.2825, allocations: 15.08 kB / 463.7 MB, free: 4.105 MB / 410.7 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 6.965e-05/0.2826, allocations: 116.9 kB / 463.8 MB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.2826, allocations: 13.03 kB / 463.8 MB, free: 3.988 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.2831, allocations: 353.5 kB / 464.2 MB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2831, allocations: 9.109 kB / 464.2 MB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2831, allocations: 0 / 464.2 MB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2831, allocations: 6.438 kB / 464.2 MB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008218/0.2839, allocations: 0.6467 MB / 464.8 MB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.284, allocations: 5.562 kB / 464.8 MB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.2841, allocations: 58.5 kB / 464.9 MB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.2841, allocations: 7.562 kB / 464.9 MB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.2842, allocations: 12.5 kB / 464.9 MB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.2842, allocations: 3.344 kB / 464.9 MB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2842, allocations: 4.75 kB / 464.9 MB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.2846, allocations: 412 kB / 465.3 MB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.2846, allocations: 17.77 kB / 465.3 MB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.2846, allocations: 7.406 kB / 465.3 MB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.2848, allocations: 15.41 kB / 465.4 MB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.2848, allocations: 20.91 kB / 465.4 MB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.2848, allocations: 13.42 kB / 465.4 MB, free: 3.438 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.843e-05/0.2848, allocations: 85.59 kB / 465.5 MB, free: 3.363 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2848, allocations: 0 / 465.5 MB, free: 3.363 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002538/0.2851, allocations: 63.53 kB / 465.5 MB, free: 3.359 MB / 410.7 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.0006433/0.2857, allocations: 0.9665 MB / 466.5 MB, free: 2.648 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004001/0.2861, allocations: 246.9 kB / 466.7 MB, free: 2.641 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2861, allocations: 1.203 kB / 466.7 MB, free: 2.641 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.2863, allocations: 126.4 kB / 466.9 MB, free: 2.641 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.2867, allocations: 58.28 kB / 466.9 MB, free: 2.637 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.2885, allocations: 2.104 MB / 469 MB, free: 1.344 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.452e-05/0.2885, allocations: 92.58 kB / 469.1 MB, free: 1.273 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002108/0.2887, allocations: 58.52 kB / 469.2 MB, free: 1.262 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.2889, allocations: 56.17 kB / 469.2 MB, free: 1.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2889, allocations: 1.094 kB / 469.2 MB, free: 1.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.3052, allocations: 6.669 MB / 475.9 MB, free: 100 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.469/6.774, allocations: 12.23 kB / 475.9 MB, free: 96 kB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.34139334410429]