Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001582/0.001582, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.001631/0.001631, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.402/1.402, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.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.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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 51.92 kB / 371.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2656, allocations: 52.18 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.08508/0.3507, allocations: 66.24 MB / 490.1 MB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008026/0.3587, allocations: 5.504 MB / 495.6 MB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005336/0.3592, allocations: 7.938 kB / 495.6 MB, free: 6.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.3604, allocations: 369.9 kB / 496 MB, free: 6.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.3617, allocations: 0.5167 MB / 496.5 MB, free: 5.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02105/0.3827, allocations: 7.517 MB / 0.4922 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002624/0.3853, allocations: 1.575 MB / 0.4938 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004314/0.3858, allocations: 161.2 kB / 0.4939 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.3873, allocations: 0.6424 MB / 0.4945 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.3886, allocations: 0.5995 MB / 0.4951 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002989/0.3889, allocations: 80 kB / 0.4952 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02284/0.4117, allocations: 10.45 MB / 0.5054 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007311/0.4124, allocations: 327.1 kB / 0.5057 GB, free: 428 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009837/0.4134, allocations: 438.5 kB / 0.5061 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01662/0.43, allocations: 5.959 MB / 0.512 GB, free: 10.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.43, allocations: 0 / 0.512 GB, free: 10.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.4301, allocations: 4 kB / 0.512 GB, free: 10.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.084e-05/0.4301, allocations: 0 / 0.512 GB, free: 10.01 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.005127/0.4352, allocations: 1.533 MB / 0.5135 GB, free: 8.441 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4353, allocations: 12.03 kB / 0.5135 GB, free: 8.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005957/0.4359, allocations: 87.56 kB / 0.5135 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008563/0.4367, allocations: 391 kB / 0.5139 GB, free: 7.934 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/0.4368, allocations: 49.3 kB / 0.514 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.4369, allocations: 60 kB / 0.514 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.4389, allocations: 0.8186 MB / 0.5148 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.4389, allocations: 0 / 0.5148 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.909e-05/0.439, allocations: 28 kB / 0.5149 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.439, allocations: 16 kB / 0.5149 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.441, allocations: 1.028 MB / 0.5159 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01531/0.4563, allocations: 4.989 MB / 0.5207 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.4583, allocations: 0.7185 MB / 0.5214 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006405/0.4589, allocations: 385.5 kB / 0.5218 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/0.4698, allocations: 2.608 MB / 0.5244 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/0.4699, allocations: 43.22 kB / 0.5244 GB, free: 12.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.495e-06/0.4699, allocations: 0 / 0.5244 GB, free: 12.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01051/0.4804, allocations: 3.163 MB / 0.5275 GB, free: 9.766 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.4805, allocations: 60.41 kB / 0.5275 GB, free: 9.691 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.4809, allocations: 352.5 kB / 0.5279 GB, free: 9.344 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.481, allocations: 49.64 kB / 0.5279 GB, free: 9.289 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.4812, allocations: 253.2 kB / 0.5282 GB, free: 9.039 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.4815, allocations: 317.2 kB / 0.5285 GB, free: 8.727 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/0.4818, allocations: 158.6 kB / 0.5286 GB, free: 8.566 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.482, allocations: 362.8 kB / 0.529 GB, free: 8.203 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006327/0.4826, allocations: 373.8 kB / 0.5293 GB, free: 7.836 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009909/0.4836, allocations: 496.2 kB / 0.5298 GB, free: 7.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.4854, allocations: 0.9021 MB / 0.5307 GB, free: 6.387 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4854, allocations: 0 / 0.5307 GB, free: 6.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002723/0.4881, allocations: 1.121 MB / 0.5318 GB, free: 5.242 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.4881, allocations: 11.44 kB / 0.5318 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4882, allocations: 0 / 0.5318 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008487/0.489, allocations: 167.5 kB / 0.5319 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007872/0.4898, allocations: 187.7 kB / 0.5321 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003303/0.4931, allocations: 3.922 MB / 0.536 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/0.4936, allocations: 20.28 kB / 0.536 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.4937, allocations: 43.98 kB / 0.536 GB, free: 0.6133 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.0004155/0.4941, allocations: 225.6 kB / 0.5362 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/0.4945, allocations: 67.62 kB / 0.5363 GB, free: 324 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2138/0.7083, allocations: 1.28 MB / 0.5375 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.7083, allocations: 8.844 kB / 0.5376 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7083, allocations: 0.5625 kB / 0.5376 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001688/0.71, allocations: 1.324 MB / 0.5389 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.7132, allocations: 1.93 MB / 0.5407 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.7132, allocations: 1.75 kB / 0.5407 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/0.7139, allocations: 165.4 kB / 0.5409 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001743/0.7156, allocations: 295.7 kB / 0.5412 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.438e-05/0.7157, allocations: 28.19 kB / 0.5412 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005554/0.7163, allocations: 1.29 MB / 0.5425 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7163, allocations: 3.812 kB / 0.5425 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.7185, allocations: 1.424 MB / 0.5439 GB, free: 109.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.7187, allocations: 47.23 kB / 0.5439 GB, free: 109.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.7188, allocations: 27.11 kB / 0.5439 GB, free: 109.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.7193, allocations: 31.14 kB / 0.544 GB, free: 109.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/0.7194, allocations: 57.94 kB / 0.544 GB, free: 109.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.939e-05/0.7195, allocations: 46.83 kB / 0.5441 GB, free: 109.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002639/0.7198, allocations: 283 kB / 0.5443 GB, free: 109.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7198, allocations: 0 / 0.5443 GB, free: 109.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003389/0.7232, allocations: 1.411 MB / 0.5457 GB, free: 109.4 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.005061/0.7282, allocations: 1.737 MB / 0.5474 GB, free: 109.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.7301, allocations: 1.11 MB / 0.5485 GB, free: 108.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.7302, allocations: 2.781 kB / 0.5485 GB, free: 108.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007795/0.7309, allocations: 476.5 kB / 0.5489 GB, free: 108.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.7327, allocations: 395 kB / 0.5493 GB, free: 108.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.7352, allocations: 1.728 MB / 0.551 GB, free: 107.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.7355, allocations: 0.9148 MB / 0.5519 GB, free: 106.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.7358, allocations: 88.95 kB / 0.552 GB, free: 106.8 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.7358, allocations: 0 / 0.552 GB, free: 106.8 MB / 446.1 MB Notification: Performance of Templates: time 0.04394/0.7797, allocations: 40.93 MB / 0.592 GB, free: 66.17 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.282626985106617]