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.001334/0.001334, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001468/0.001468, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.442/1.442, allocations: 230.5 MB / 258.1 MB, free: 7.98 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.002053/0.002053, allocations: 63.91 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2431, allocations: 53.41 MB / 432.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07832/0.3215, allocations: 66.38 MB / 498.8 MB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007724/0.3292, allocations: 5.507 MB / 0.4925 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/0.3296, allocations: 11.94 kB / 0.4925 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.3306, allocations: 357.9 kB / 0.4929 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.3317, allocations: 0.5167 MB / 0.4934 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01951/0.3512, allocations: 7.54 MB / 0.5007 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002329/0.3536, allocations: 1.575 MB / 0.5023 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003575/0.3539, allocations: 149.4 kB / 0.5024 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.3552, allocations: 0.6347 MB / 0.503 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.3563, allocations: 0.6073 MB / 0.5036 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002316/0.3566, allocations: 87.94 kB / 0.5037 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02035/0.3769, allocations: 10.47 MB / 0.5139 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006096/0.3775, allocations: 335.1 kB / 0.5143 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008691/0.3784, allocations: 434.4 kB / 0.5147 GB, free: 7.871 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01376/0.3922, allocations: 5.982 MB / 0.5205 GB, free: 1.875 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.3922, allocations: 4 kB / 0.5205 GB, free: 1.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3922, allocations: 0 / 0.5205 GB, free: 1.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.219e-05/0.3922, allocations: 0 / 0.5205 GB, free: 1.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.004137/0.3963, allocations: 1.54 MB / 0.522 GB, free: 304 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3964, allocations: 8.031 kB / 0.522 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004852/0.3969, allocations: 91.56 kB / 0.5221 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008441/0.3977, allocations: 391.1 kB / 0.5225 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.3977, allocations: 45.31 kB / 0.5225 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.3979, allocations: 60 kB / 0.5226 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.3998, allocations: 0.8107 MB / 0.5234 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.3998, allocations: 7.953 kB / 0.5234 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/0.3999, allocations: 32 kB / 0.5234 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.3999, allocations: 16 kB / 0.5234 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.4019, allocations: 1.036 MB / 0.5245 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.4169, allocations: 4.969 MB / 0.5293 GB, free: 8.594 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.4188, allocations: 0.7068 MB / 0.53 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006524/0.4194, allocations: 391.2 kB / 0.5304 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/0.4306, allocations: 2.596 MB / 0.5329 GB, free: 4.895 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.656e-05/0.4307, allocations: 55.2 kB / 0.533 GB, free: 4.832 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.326e-06/0.4307, allocations: 0 / 0.533 GB, free: 4.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01046/0.4411, allocations: 3.148 MB / 0.536 GB, free: 1.656 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.4412, allocations: 64.41 kB / 0.5361 GB, free: 1.578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/0.4417, allocations: 360.5 kB / 0.5364 GB, free: 1.219 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.4418, allocations: 41.7 kB / 0.5365 GB, free: 1.172 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.442, allocations: 241.2 kB / 0.5367 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.4423, allocations: 321.2 kB / 0.537 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/0.4425, allocations: 162.6 kB / 0.5372 GB, free: 464 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.4427, allocations: 362.8 kB / 0.5375 GB, free: 92 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1895/0.6322, allocations: 367.3 kB / 0.5379 GB, free: 106.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.6334, allocations: 495.1 kB / 0.5383 GB, free: 106.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.6351, allocations: 0.9103 MB / 0.5392 GB, free: 105.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6351, allocations: 0 / 0.5392 GB, free: 105.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002508/0.6376, allocations: 1.121 MB / 0.5403 GB, free: 105.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.6377, allocations: 9.562 kB / 0.5403 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.6377, allocations: 2.938 kB / 0.5403 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007979/0.6385, allocations: 165.6 kB / 0.5405 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007501/0.6392, allocations: 188.2 kB / 0.5407 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.6412, allocations: 3.908 MB / 0.5445 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.6416, allocations: 20.05 kB / 0.5445 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/0.6417, allocations: 48.83 kB / 0.5446 GB, free: 101.5 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.0003263/0.642, allocations: 232.5 kB / 0.5448 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00037/0.6424, allocations: 65.98 kB / 0.5448 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.6447, allocations: 1.269 MB / 0.5461 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.6447, allocations: 8.859 kB / 0.5461 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6447, allocations: 2.75 kB / 0.5461 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001589/0.6463, allocations: 1.325 MB / 0.5474 GB, free: 99.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.6491, allocations: 1.928 MB / 0.5493 GB, free: 98.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.6491, allocations: 1.219 kB / 0.5493 GB, free: 98.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006546/0.6498, allocations: 166.4 kB / 0.5494 GB, free: 98.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/0.6514, allocations: 303.4 kB / 0.5497 GB, free: 98.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/0.6515, allocations: 27.48 kB / 0.5497 GB, free: 98.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005158/0.652, allocations: 1.295 MB / 0.551 GB, free: 97.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.652, allocations: 0 / 0.551 GB, free: 97.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.6542, allocations: 1.413 MB / 0.5524 GB, free: 96.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.6544, allocations: 51.22 kB / 0.5524 GB, free: 96.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.6545, allocations: 23.58 kB / 0.5525 GB, free: 96.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005196/0.655, allocations: 31.52 kB / 0.5525 GB, free: 96.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.6551, allocations: 62.41 kB / 0.5525 GB, free: 96.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.966e-05/0.6551, allocations: 45.77 kB / 0.5526 GB, free: 96.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002598/0.6554, allocations: 279.9 kB / 0.5529 GB, free: 96.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6554, allocations: 0 / 0.5529 GB, free: 96.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003492/0.6589, allocations: 1.433 MB / 0.5543 GB, free: 96.62 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.005078/0.664, allocations: 1.732 MB / 0.5559 GB, free: 96.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001939/0.6659, allocations: 1.105 MB / 0.557 GB, free: 95.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.6659, allocations: 4 kB / 0.557 GB, free: 95.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007316/0.6667, allocations: 487.6 kB / 0.5575 GB, free: 95.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.6684, allocations: 394 kB / 0.5579 GB, free: 95.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.6708, allocations: 1.713 MB / 0.5595 GB, free: 93.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.6711, allocations: 0.9148 MB / 0.5604 GB, free: 92.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/0.6714, allocations: 91.41 kB / 0.5605 GB, free: 92.4 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6714, allocations: 0 / 0.5605 GB, free: 92.4 MB / 446.1 MB Notification: Performance of Templates: time 0.0421/0.7135, allocations: 41.22 MB / 0.6008 GB, free: 51.16 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/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.749251358909532]