Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002564/0.002564, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 52.39 kB / 347.7 MB, free: 9.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2884, allocations: 49.16 MB / 396.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2099/0.4983, allocations: 149.4 MB / 0.5335 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004757/0.5031, allocations: 2.96 MB / 0.5364 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003411/0.5034, allocations: 7.938 kB / 0.5364 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007773/0.5042, allocations: 167 kB / 0.5366 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.5055, allocations: 409.5 kB / 0.5369 GB, free: 9.723 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.5066, allocations: 359.2 kB / 0.5373 GB, free: 9.371 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.5079, allocations: 0.9031 MB / 0.5382 GB, free: 8.465 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.5081, allocations: 68.88 kB / 0.5382 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.5104, allocations: 0.8132 MB / 0.539 GB, free: 7.586 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007342/0.5111, allocations: 286.9 kB / 0.5393 GB, free: 7.305 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.5112, allocations: 28 kB / 0.5393 GB, free: 7.277 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004935/0.5117, allocations: 119.9 kB / 0.5394 GB, free: 7.16 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.5119, allocations: 95.66 kB / 0.5395 GB, free: 7.066 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.5122, allocations: 167.4 kB / 0.5397 GB, free: 6.902 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008098/0.513, allocations: 0.5166 MB / 0.5402 GB, free: 6.387 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.513, allocations: 0 / 0.5402 GB, free: 6.387 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.513, allocations: 0 / 0.5402 GB, free: 6.387 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.213e-05/0.513, allocations: 0 / 0.5402 GB, free: 6.387 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001162/0.5142, allocations: 0.5207 MB / 0.5407 GB, free: 5.836 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.5142, allocations: 11.98 kB / 0.5407 GB, free: 5.824 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000321/0.5145, allocations: 39.81 kB / 0.5408 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/0.5151, allocations: 228.7 kB / 0.541 GB, free: 5.535 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.5151, allocations: 20.44 kB / 0.541 GB, free: 5.512 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.706e-05/0.5152, allocations: 24 kB / 0.541 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007002/0.5159, allocations: 0.5412 MB / 0.5415 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.5159, allocations: 7.938 kB / 0.5416 GB, free: 4.859 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.516, allocations: 12 kB / 0.5416 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.516, allocations: 4 kB / 0.5416 GB, free: 4.844 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.5164, allocations: 205.5 kB / 0.5418 GB, free: 4.645 MB / 462.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.002137/0.5185, allocations: 1.156 MB / 0.5429 GB, free: 3.434 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.5189, allocations: 154.8 kB / 0.543 GB, free: 3.273 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.519, allocations: 89.14 kB / 0.5431 GB, free: 3.184 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.943e-05/0.5191, allocations: 7.984 kB / 0.5431 GB, free: 3.176 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.5191, allocations: 42.5 kB / 0.5432 GB, free: 3.125 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.5191, allocations: 0 / 0.5432 GB, free: 3.125 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.008452/0.5276, allocations: 1.314 MB / 0.5445 GB, free: 1.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.5277, allocations: 55.41 kB / 0.5445 GB, free: 1.684 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004341/0.5281, allocations: 224 kB / 0.5447 GB, free: 1.457 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.351e-05/0.5282, allocations: 33.64 kB / 0.5448 GB, free: 1.418 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.5284, allocations: 188.4 kB / 0.5449 GB, free: 1.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.5285, allocations: 103.2 kB / 0.545 GB, free: 1.129 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.5286, allocations: 81.64 kB / 0.5451 GB, free: 1.043 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.5288, allocations: 334.8 kB / 0.5454 GB, free: 0.707 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.529, allocations: 87.95 kB / 0.5455 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.5293, allocations: 195.8 kB / 0.5457 GB, free: 396 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/0.5298, allocations: 299.8 kB / 0.546 GB, free: 52 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.5298, allocations: 11.88 kB / 0.546 GB, free: 40 kB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007564/0.5306, allocations: 386.9 kB / 0.5464 GB, free: 15.65 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.5306, allocations: 11.94 kB / 0.5464 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.5306, allocations: 416 / 0.5464 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002576/0.5309, allocations: 81.67 kB / 0.5465 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.5312, allocations: 83.89 kB / 0.5465 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.5329, allocations: 1.828 MB / 0.5483 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.5331, allocations: 8 kB / 0.5483 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.5332, allocations: 44.23 kB / 0.5484 GB, free: 13.46 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 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.0002104/0.5334, allocations: 157.7 kB / 0.5485 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.5335, allocations: 31.81 kB / 0.5486 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009309/0.5344, allocations: 439.5 kB / 0.549 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.5345, allocations: 4 kB / 0.549 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.5345, allocations: 4 kB / 0.549 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006327/0.5351, allocations: 0.5552 MB / 0.5495 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.5363, allocations: 0.6296 MB / 0.5501 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.5363, allocations: 4 kB / 0.5501 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.5366, allocations: 67.89 kB / 0.5502 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-05/0.5367, allocations: 20.84 kB / 0.5502 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.5367, allocations: 15.98 kB / 0.5502 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.5378, allocations: 1.26 MB / 0.5515 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5379, allocations: 3.938 kB / 0.5515 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007578/0.5386, allocations: 475.4 kB / 0.5519 GB, free: 9.523 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.5387, allocations: 23.89 kB / 0.5519 GB, free: 9.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.5387, allocations: 8 kB / 0.552 GB, free: 9.492 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.539, allocations: 11.88 kB / 0.552 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.539, allocations: 28.17 kB / 0.552 GB, free: 9.453 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.5391, allocations: 35.98 kB / 0.552 GB, free: 9.418 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.5393, allocations: 168.5 kB / 0.5522 GB, free: 9.254 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5393, allocations: 0 / 0.5522 GB, free: 9.254 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005687/0.5398, allocations: 119.9 kB / 0.5523 GB, free: 9.137 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004182/0.5402, allocations: 159 kB / 0.5525 GB, free: 8.969 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007611/0.541, allocations: 358.6 kB / 0.5528 GB, free: 8.605 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.541, allocations: 4 kB / 0.5528 GB, free: 8.602 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.5414, allocations: 219.4 kB / 0.553 GB, free: 8.375 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008564/0.5422, allocations: 137.6 kB / 0.5531 GB, free: 8.242 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.5437, allocations: 0.7078 MB / 0.5538 GB, free: 7.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.5439, allocations: 151.2 kB / 0.554 GB, free: 7.332 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004698/0.5444, allocations: 114.9 kB / 0.5541 GB, free: 7.223 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.5446, allocations: 63.42 kB / 0.5541 GB, free: 7.16 MB / 478.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5446, allocations: 0 / 0.5541 GB, free: 7.16 MB / 478.1 MB Notification: Performance of Templates: time 0.2429/0.7875, allocations: 8.475 MB / 0.5624 GB, free: 165.2 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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: 5.305256774649024]