Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001797/0.001797, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.002307/0.002307, allocations: 221.1 kB / 23 MB, free: 5.605 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.413/1.413, allocations: 230.2 MB / 256.2 MB, free: 8.531 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.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002985/0.002985, allocations: 67.89 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2317, allocations: 53.32 MB / 429.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07778/0.3094, allocations: 66.36 MB / 496.2 MB, free: 4.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007761/0.3172, allocations: 5.515 MB / 0.4899 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004203/0.3176, allocations: 7.938 kB / 0.4899 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.3187, allocations: 361.9 kB / 0.4903 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.3199, allocations: 0.5089 MB / 0.4908 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01826/0.3382, allocations: 7.485 MB / 0.4981 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002144/0.3403, allocations: 1.547 MB / 0.4996 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.3407, allocations: 152.9 kB / 0.4997 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.3419, allocations: 0.6308 MB / 0.5004 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.343, allocations: 0.6034 MB / 0.5009 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002292/0.3432, allocations: 84 kB / 0.501 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01929/0.3625, allocations: 10.4 MB / 0.5112 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005172/0.363, allocations: 339.1 kB / 0.5115 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007355/0.3637, allocations: 434.4 kB / 0.5119 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.3756, allocations: 5.978 MB / 0.5178 GB, free: 2.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3756, allocations: 0 / 0.5178 GB, free: 2.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3756, allocations: 0 / 0.5178 GB, free: 2.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.504e-05/0.3756, allocations: 0 / 0.5178 GB, free: 2.871 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003916/0.3795, allocations: 1.609 MB / 0.5193 GB, free: 1.207 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3796, allocations: 11.97 kB / 0.5193 GB, free: 1.195 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004536/0.38, allocations: 87.56 kB / 0.5194 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006903/0.3807, allocations: 449 kB / 0.5199 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/0.3807, allocations: 49.31 kB / 0.5199 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.3809, allocations: 67.95 kB / 0.52 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.3828, allocations: 0.8069 MB / 0.5208 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.3829, allocations: 7.938 kB / 0.5208 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-05/0.3829, allocations: 28 kB / 0.5208 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.383, allocations: 12 kB / 0.5208 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/0.385, allocations: 1.032 MB / 0.5218 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1957/0.5807, allocations: 12.77 MB / 0.5343 GB, free: 107.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.5827, allocations: 0.7084 MB / 0.535 GB, free: 107.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005661/0.5833, allocations: 384 kB / 0.5353 GB, free: 107.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01202/0.5953, allocations: 12.24 MB / 0.5473 GB, free: 95.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.5954, allocations: 43.91 kB / 0.5473 GB, free: 95.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.625e-06/0.5954, allocations: 1.281 kB / 0.5473 GB, free: 95.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.008728/0.6041, allocations: 3.383 MB / 0.5506 GB, free: 93.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.6041, allocations: 59.97 kB / 0.5507 GB, free: 93.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.6044, allocations: 364 kB / 0.551 GB, free: 93.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.6045, allocations: 41.45 kB / 0.5511 GB, free: 93.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.6046, allocations: 244.5 kB / 0.5513 GB, free: 93.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.6047, allocations: 322.5 kB / 0.5516 GB, free: 93.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.6049, allocations: 163.3 kB / 0.5518 GB, free: 93.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.267e-05/0.605, allocations: 361.6 kB / 0.5521 GB, free: 92.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004657/0.6054, allocations: 368.3 kB / 0.5525 GB, free: 92.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007623/0.6062, allocations: 499.1 kB / 0.5529 GB, free: 92.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.6077, allocations: 0.9023 MB / 0.5538 GB, free: 91.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6077, allocations: 0.6562 kB / 0.5538 GB, free: 91.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002223/0.6099, allocations: 1.114 MB / 0.5549 GB, free: 91.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.6099, allocations: 7.938 kB / 0.5549 GB, free: 91.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.6099, allocations: 0 / 0.5549 GB, free: 91.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007639/0.6107, allocations: 174.1 kB / 0.5551 GB, free: 91.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007121/0.6114, allocations: 184.6 kB / 0.5553 GB, free: 91.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.6131, allocations: 4.125 MB / 0.5593 GB, free: 87.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.6135, allocations: 15.97 kB / 0.5593 GB, free: 87.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-05/0.6136, allocations: 42.2 kB / 0.5593 GB, free: 87.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002776/0.6139, allocations: 234.6 kB / 0.5596 GB, free: 87.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003722/0.6143, allocations: 62.83 kB / 0.5596 GB, free: 86.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.6163, allocations: 1.274 MB / 0.5609 GB, free: 86.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.6163, allocations: 9.375 kB / 0.5609 GB, free: 86.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.6163, allocations: 5.516 kB / 0.5609 GB, free: 86.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001439/0.6178, allocations: 1.323 MB / 0.5622 GB, free: 85.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/0.6203, allocations: 1.964 MB / 0.5641 GB, free: 83.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6203, allocations: 0 / 0.5641 GB, free: 83.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007285/0.621, allocations: 167.8 kB / 0.5643 GB, free: 83.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/0.6227, allocations: 296.8 kB / 0.5645 GB, free: 83.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.296e-05/0.6228, allocations: 35.67 kB / 0.5646 GB, free: 83.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004506/0.6233, allocations: 1.285 MB / 0.5658 GB, free: 81.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.6233, allocations: 7.922 kB / 0.5658 GB, free: 81.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.6254, allocations: 1.414 MB / 0.5672 GB, free: 80.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-05/0.6255, allocations: 124.9 kB / 0.5673 GB, free: 80.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.233e-05/0.6256, allocations: 23.98 kB / 0.5674 GB, free: 80.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/0.6261, allocations: 27.98 kB / 0.5674 GB, free: 80.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.6262, allocations: 60.86 kB / 0.5674 GB, free: 80.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.689e-05/0.6262, allocations: 44.09 kB / 0.5675 GB, free: 79.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002319/0.6265, allocations: 287 kB / 0.5678 GB, free: 79.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6265, allocations: 0 / 0.5678 GB, free: 79.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002884/0.6293, allocations: 1.425 MB / 0.5692 GB, free: 78.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004444/0.6338, allocations: 1.746 MB / 0.5709 GB, free: 76.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001845/0.6356, allocations: 1.108 MB / 0.5719 GB, free: 75.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.6356, allocations: 0 / 0.5719 GB, free: 75.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007331/0.6364, allocations: 475.9 kB / 0.5724 GB, free: 75.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.6381, allocations: 396.9 kB / 0.5728 GB, free: 74.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.6403, allocations: 1.692 MB / 0.5744 GB, free: 73.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.6405, allocations: 0.9145 MB / 0.5753 GB, free: 72.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006047/0.6411, allocations: 209.2 kB / 0.5755 GB, free: 71.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.6413, allocations: 71.42 kB / 0.5756 GB, free: 71.89 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6413, allocations: 0 / 0.5756 GB, free: 71.89 MB / 446.1 MB Notification: Performance of Templates: time 0.049/0.6903, allocations: 50.59 MB / 0.625 GB, free: 21.38 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 20.732249891385436]