Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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.001746/0.001746, allocations: 123.5 kB / 18.46 MB, free: 4.613 MB / 14.72 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.002014/0.002014, allocations: 188.3 kB / 21.39 MB, free: 1.688 MB / 14.72 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 1.629/1.629, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] 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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 55.92 kB / 366.8 MB, free: 452 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09787/0.0994, allocations: 52.14 MB / 418.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03448/0.1339, allocations: 26.55 MB / 445.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2075/0.3414, allocations: 2.23 MB / 447.7 MB, free: 7.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.3415, allocations: 5.875 kB / 447.7 MB, free: 7.484 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.3419, allocations: 62.34 kB / 447.8 MB, free: 7.484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003742/0.3423, allocations: 157 kB / 447.9 MB, free: 7.484 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01544/0.3577, allocations: 6.521 MB / 454.5 MB, free: 7.398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000492/0.3582, allocations: 308 kB / 454.8 MB, free: 7.398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.973e-05/0.3583, allocations: 10.7 kB / 454.8 MB, free: 7.398 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.3585, allocations: 140.9 kB / 454.9 MB, free: 7.395 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.3587, allocations: 126.3 kB / 455 MB, free: 7.395 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.3588, allocations: 10.62 kB / 455 MB, free: 7.395 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01893/0.3777, allocations: 9.625 MB / 464.7 MB, free: 7.273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.3779, allocations: 71.88 kB / 464.7 MB, free: 7.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.3781, allocations: 99.94 kB / 464.8 MB, free: 7.242 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.3912, allocations: 4.706 MB / 469.5 MB, free: 5.484 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.3912, allocations: 0 / 469.5 MB, free: 5.484 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3912, allocations: 0 / 469.5 MB, free: 5.484 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.3912, allocations: 1.312 kB / 469.5 MB, free: 5.484 MB / 366.1 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.004158/0.3954, allocations: 1.15 MB / 470.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3954, allocations: 8.812 kB / 470.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.3956, allocations: 22.19 kB / 470.7 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.3958, allocations: 225.2 kB / 470.9 MB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.3958, allocations: 11.14 kB / 471 MB, free: 4.402 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.3959, allocations: 19.34 kB / 471 MB, free: 4.395 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006969/0.3966, allocations: 294.9 kB / 471.3 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3966, allocations: 0 / 471.3 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.3966, allocations: 11.73 kB / 471.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.3966, allocations: 10.03 kB / 471.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007511/0.3974, allocations: 309.1 kB / 471.6 MB, free: 4.07 MB / 366.1 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.001274/0.3987, allocations: 0.8282 MB / 472.4 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000695/0.3994, allocations: 238.5 kB / 472.6 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.3997, allocations: 133.6 kB / 472.8 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01594/0.4156, allocations: 12.85 MB / 485.6 MB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.371e-05/0.4157, allocations: 37.41 kB / 485.7 MB, free: 5.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.554e-06/0.4157, allocations: 4.281 kB / 485.7 MB, free: 5.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.00301/0.4187, allocations: 0.6919 MB / 486.4 MB, free: 4.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.4187, allocations: 85.33 kB / 486.4 MB, free: 4.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.4189, allocations: 132.3 kB / 486.6 MB, free: 4.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.4189, allocations: 32.14 kB / 486.6 MB, free: 4.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.419, allocations: 111.8 kB / 486.7 MB, free: 4.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.4191, allocations: 125.8 kB / 486.8 MB, free: 4.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.4193, allocations: 77.12 kB / 486.9 MB, free: 4.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4194, allocations: 327.2 kB / 487.2 MB, free: 3.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.4198, allocations: 135.9 kB / 487.4 MB, free: 3.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005016/0.4203, allocations: 215.1 kB / 487.6 MB, free: 3.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000934/0.4213, allocations: 359.5 kB / 487.9 MB, free: 3.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4213, allocations: 2.312 kB / 487.9 MB, free: 3.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001192/0.4225, allocations: 418.1 kB / 488.3 MB, free: 3.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4225, allocations: 4.281 kB / 488.3 MB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4225, allocations: 2.656 kB / 488.3 MB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.4225, allocations: 6.312 kB / 488.3 MB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.423, allocations: 98.17 kB / 488.4 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.423, allocations: 3.562 kB / 488.4 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.4233, allocations: 22.52 kB / 488.5 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.306e-05/0.4233, allocations: 20.86 kB / 488.5 MB, free: 3.305 MB / 382.1 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 0.000176/0.4235, allocations: 144.7 kB / 488.6 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.4236, allocations: 20.67 kB / 488.6 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004803/0.4241, allocations: 192.9 kB / 488.8 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.4241, allocations: 3.234 kB / 488.8 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4241, allocations: 2.625 kB / 488.8 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.4241, allocations: 7.984 kB / 488.9 MB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.4259, allocations: 0.7577 MB / 489.6 MB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4259, allocations: 6.438 kB / 489.6 MB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.4263, allocations: 77 kB / 489.7 MB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.4263, allocations: 6.656 kB / 489.7 MB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.4263, allocations: 13.12 kB / 489.7 MB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.4263, allocations: 13.3 kB / 489.7 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.4263, allocations: 1.359 kB / 489.7 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.4279, allocations: 0.7086 MB / 490.4 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.428, allocations: 125.7 kB / 490.6 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.4281, allocations: 11.8 kB / 490.6 MB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.4284, allocations: 19.95 kB / 490.6 MB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.4285, allocations: 24.59 kB / 490.6 MB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.4285, allocations: 17.86 kB / 490.6 MB, free: 1.754 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.164e-05/0.4286, allocations: 101.1 kB / 490.7 MB, free: 1.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4286, allocations: 0 / 490.7 MB, free: 1.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003381/0.4319, allocations: 0.9515 MB / 491.7 MB, free: 1.453 MB / 382.1 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 (37): * Single equations (assignments): 37 * 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.005006/0.437, allocations: 1.253 MB / 492.9 MB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.4381, allocations: 336.2 kB / 493.3 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4381, allocations: 448 / 493.3 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000463/0.4385, allocations: 177.1 kB / 493.4 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.4393, allocations: 94.42 kB / 493.5 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.4408, allocations: 0.6326 MB / 494.2 MB, free: 324 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.4411, allocations: 0.7317 MB / 494.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.4413, allocations: 43.22 kB / 494.9 MB, free: 15.58 MB / 398.1 MB Notification: Performance of SimCode: time 1.153e-06/0.4413, allocations: 0 / 494.9 MB, free: 15.58 MB / 398.1 MB Notification: Performance of Templates: time 0.03188/0.4732, allocations: 19.75 MB / 0.5026 GB, free: 12.32 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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: 10.033809900982305]