Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 80.06 kB / 21.43 MB, free: 3.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003563/0.003563, allocations: 138.3 kB / 24.68 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8256/0.8256, allocations: 173.4 MB / 201.2 MB, free: 9.406 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 319.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.839e-05, allocations: 2.281 kB / 319.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1063/0.1064, allocations: 130.3 MB / 450 MB, free: 3.031 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1075, allocations: 1.417 MB / 451.4 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.1075, allocations: 3.938 kB / 451.4 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.1079, allocations: 63.59 kB / 451.4 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004955/0.1084, allocations: 167 kB / 451.6 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.1103, allocations: 1.052 MB / 452.7 MB, free: 332 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1861/0.2964, allocations: 337.8 kB / 453 MB, free: 6.832 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.181e-05/0.2964, allocations: 11.03 kB / 453 MB, free: 6.832 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004433/0.2969, allocations: 194.3 kB / 453.2 MB, free: 6.832 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.2971, allocations: 115.5 kB / 453.3 MB, free: 6.832 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.2971, allocations: 12.28 kB / 453.3 MB, free: 6.832 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.2992, allocations: 1.334 MB / 454.7 MB, free: 6.832 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.809e-05/0.2992, allocations: 72.23 kB / 454.7 MB, free: 6.832 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.13e-05/0.2993, allocations: 72.91 kB / 454.8 MB, free: 6.832 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.3003, allocations: 1.095 MB / 455.9 MB, free: 6.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3003, allocations: 0 / 455.9 MB, free: 6.793 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3003, allocations: 0 / 455.9 MB, free: 6.793 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.3003, allocations: 1.094 kB / 455.9 MB, free: 6.793 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001015/0.3013, allocations: 0.6117 MB / 456.5 MB, free: 6.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3014, allocations: 8.641 kB / 456.5 MB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.009e-05/0.3015, allocations: 22.25 kB / 456.5 MB, free: 6.402 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.3016, allocations: 153.9 kB / 456.7 MB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3016, allocations: 13.52 kB / 456.7 MB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.3017, allocations: 15.62 kB / 456.7 MB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.302, allocations: 367.1 kB / 457.1 MB, free: 6.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.302, allocations: 0 / 457.1 MB, free: 6.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.302, allocations: 9.188 kB / 457.1 MB, free: 6.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.3021, allocations: 12.09 kB / 457.1 MB, free: 6.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.3024, allocations: 265.8 kB / 457.4 MB, free: 6.086 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007835/0.3032, allocations: 0.6131 MB / 458 MB, free: 5.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.3035, allocations: 207.8 kB / 458.2 MB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.3037, allocations: 128.5 kB / 458.3 MB, free: 5.688 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.3038, allocations: 50.19 kB / 458.3 MB, free: 5.688 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.3038, allocations: 37.12 kB / 458.4 MB, free: 5.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.964e-06/0.3038, allocations: 0.9062 kB / 458.4 MB, free: 5.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001221/0.305, allocations: 0.6774 MB / 459.1 MB, free: 5.574 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.3051, allocations: 84.86 kB / 459.1 MB, free: 5.477 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.29e-05/0.3051, allocations: 127.1 kB / 459.3 MB, free: 5.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3051, allocations: 32.73 kB / 459.3 MB, free: 5.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.3052, allocations: 109.3 kB / 459.4 MB, free: 5.242 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.3052, allocations: 128.8 kB / 459.5 MB, free: 5.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/0.3053, allocations: 69.38 kB / 459.6 MB, free: 5.145 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.14e-05/0.3053, allocations: 323.9 kB / 459.9 MB, free: 4.832 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.3055, allocations: 141.3 kB / 460 MB, free: 4.828 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.3057, allocations: 208.2 kB / 460.3 MB, free: 4.754 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.3061, allocations: 353.1 kB / 460.6 MB, free: 4.684 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3061, allocations: 7.219 kB / 460.6 MB, free: 4.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000485/0.3066, allocations: 410.4 kB / 461 MB, free: 4.633 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3066, allocations: 8.672 kB / 461 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3066, allocations: 4.438 kB / 461 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3066, allocations: 4.125 kB / 461 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.3069, allocations: 87.73 kB / 461.1 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.3069, allocations: 7.016 kB / 461.1 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.307, allocations: 28.91 kB / 461.1 MB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.307, allocations: 14.56 kB / 461.2 MB, free: 4.625 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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.952e-05/0.3071, allocations: 147.3 kB / 461.3 MB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.3071, allocations: 21.84 kB / 461.3 MB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.3074, allocations: 172.2 kB / 461.5 MB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3074, allocations: 10.16 kB / 461.5 MB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3074, allocations: 3.188 kB / 461.5 MB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3074, allocations: 11.28 kB / 461.5 MB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007897/0.3082, allocations: 0.6515 MB / 462.2 MB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.3082, allocations: 2.109 kB / 462.2 MB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.3084, allocations: 77.47 kB / 462.2 MB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3084, allocations: 4.594 kB / 462.2 MB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.3084, allocations: 13.62 kB / 462.3 MB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3084, allocations: 4.766 kB / 462.3 MB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3084, allocations: 6.688 kB / 462.3 MB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/0.3091, allocations: 0.7077 MB / 463 MB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.3091, allocations: 40.16 kB / 463 MB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3092, allocations: 7.219 kB / 463 MB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.3093, allocations: 22.23 kB / 463 MB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.3094, allocations: 35.53 kB / 463.1 MB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.3094, allocations: 14.97 kB / 463.1 MB, free: 3.891 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.741e-05/0.3094, allocations: 94.09 kB / 463.2 MB, free: 3.816 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3094, allocations: 0 / 463.2 MB, free: 3.816 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000369/0.3098, allocations: 145.5 kB / 463.3 MB, free: 3.797 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * 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 (38): * Single equations (assignments): 38 * 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.0003246/0.3101, allocations: 234.4 kB / 463.6 MB, free: 3.688 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000449/0.3105, allocations: 327.9 kB / 463.9 MB, free: 3.684 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3105, allocations: 4.094 kB / 463.9 MB, free: 3.684 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.3107, allocations: 170.3 kB / 464.1 MB, free: 3.684 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.3112, allocations: 100.1 kB / 464.1 MB, free: 3.676 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008097/0.312, allocations: 0.5799 MB / 464.7 MB, free: 3.395 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.462e-05/0.3121, allocations: 120 kB / 464.8 MB, free: 3.316 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.3122, allocations: 41.88 kB / 464.9 MB, free: 3.309 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3122, allocations: 0 / 464.9 MB, free: 3.309 MB / 410.7 MB Notification: Performance of Templates: time 0.005418/0.3176, allocations: 4.528 MB / 469.4 MB, free: 3.137 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.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.734835214912891]