Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.001868/0.001868, 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.002034/0.002034, allocations: 214.8 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.42/1.42, allocations: 207.7 MB / 235.3 MB, free: 9.801 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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [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.001844/0.001844, allocations: 52.39 kB / 347.2 MB, free: 9.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2609, allocations: 49.17 MB / 396.4 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.1699/0.4308, allocations: 124.1 MB / 0.5083 GB, free: 6.887 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.434, allocations: 1.627 MB / 0.5099 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000394/0.4344, allocations: 7.938 kB / 0.5099 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007956/0.4352, allocations: 178.9 kB / 0.51 GB, free: 5.074 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008189/0.4361, allocations: 322.3 kB / 0.5103 GB, free: 4.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.4373, allocations: 431 kB / 0.5108 GB, free: 4.336 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.4385, allocations: 0.8562 MB / 0.5116 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.4388, allocations: 72.67 kB / 0.5117 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009173/0.4397, allocations: 410.7 kB / 0.5121 GB, free: 3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006785/0.4404, allocations: 330.8 kB / 0.5124 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.4405, allocations: 28 kB / 0.5124 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004019/0.4409, allocations: 127.7 kB / 0.5125 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.4411, allocations: 99.7 kB / 0.5126 GB, free: 2.426 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.4414, allocations: 163.4 kB / 0.5128 GB, free: 2.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007126/0.4421, allocations: 496.5 kB / 0.5132 GB, free: 1.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4421, allocations: 0 / 0.5132 GB, free: 1.781 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4421, allocations: 0 / 0.5132 GB, free: 1.781 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.4421, allocations: 0 / 0.5132 GB, free: 1.781 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001042/0.4431, allocations: 0.5247 MB / 0.5138 GB, free: 1.227 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4432, allocations: 15.98 kB / 0.5138 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.703e-05/0.4433, allocations: 58.73 kB / 0.5138 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003033/0.4436, allocations: 48.73 kB / 0.5139 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/0.4441, allocations: 230 kB / 0.5141 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.4441, allocations: 16.88 kB / 0.5141 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.4442, allocations: 28.38 kB / 0.5141 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006948/0.4449, allocations: 0.5154 MB / 0.5146 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.4449, allocations: 11.94 kB / 0.5146 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.4449, allocations: 8 kB / 0.5147 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.4449, allocations: 8 kB / 0.5147 GB, free: 192 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003854/0.4453, allocations: 205.9 kB / 0.5149 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.4471, allocations: 0.9522 MB / 0.5158 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.4475, allocations: 180.1 kB / 0.516 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.4477, allocations: 80.83 kB / 0.516 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.799e-05/0.4478, allocations: 19.92 kB / 0.5161 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.4478, allocations: 42.5 kB / 0.5161 GB, free: 14.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.794e-06/0.4478, allocations: 0 / 0.5161 GB, free: 14.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.002529/0.4503, allocations: 0.805 MB / 0.5169 GB, free: 13.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.4504, allocations: 55.41 kB / 0.5169 GB, free: 13.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.4507, allocations: 261.8 kB / 0.5172 GB, free: 13.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.4508, allocations: 33.7 kB / 0.5172 GB, free: 13.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.4509, allocations: 188.4 kB / 0.5174 GB, free: 13.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.609e-05/0.451, allocations: 95.17 kB / 0.5175 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.4511, allocations: 69.64 kB / 0.5176 GB, free: 13.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.4513, allocations: 338.8 kB / 0.5179 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.4514, allocations: 79.97 kB / 0.518 GB, free: 12.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.4517, allocations: 175.8 kB / 0.5181 GB, free: 12.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004279/0.4521, allocations: 291.8 kB / 0.5184 GB, free: 12.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4521, allocations: 0 / 0.5184 GB, free: 12.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006908/0.4528, allocations: 371.2 kB / 0.5188 GB, free: 11.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4528, allocations: 8.031 kB / 0.5188 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.4528, allocations: 4 kB / 0.5188 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/0.453, allocations: 41.64 kB / 0.5188 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.4533, allocations: 79.89 kB / 0.5189 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.4557, allocations: 2.554 MB / 0.5214 GB, free: 8.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.4559, allocations: 8 kB / 0.5214 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.4559, allocations: 16 kB / 0.5214 GB, free: 8.789 MB / 446.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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002049/0.4561, allocations: 149.9 kB / 0.5215 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-05/0.4562, allocations: 27.86 kB / 0.5216 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005517/0.4567, allocations: 289.7 kB / 0.5218 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.4567, allocations: 4 kB / 0.5218 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4567, allocations: 4 kB / 0.5219 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006181/0.4574, allocations: 0.5434 MB / 0.5224 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.4584, allocations: 0.6165 MB / 0.523 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4584, allocations: 0 / 0.523 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.4587, allocations: 55.94 kB / 0.523 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.822e-05/0.4588, allocations: 24.8 kB / 0.5231 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.4588, allocations: 11.98 kB / 0.5231 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.4599, allocations: 1.267 MB / 0.5243 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4599, allocations: 4.031 kB / 0.5243 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007095/0.4606, allocations: 447.8 kB / 0.5247 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.4607, allocations: 23.83 kB / 0.5248 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.4607, allocations: 8 kB / 0.5248 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.4609, allocations: 11.98 kB / 0.5248 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.461, allocations: 23.84 kB / 0.5248 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.461, allocations: 15.98 kB / 0.5248 GB, free: 4.977 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002677/0.4613, allocations: 181.2 kB / 0.525 GB, free: 4.801 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4613, allocations: 0 / 0.525 GB, free: 4.801 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000524/0.4618, allocations: 107.9 kB / 0.5251 GB, free: 4.695 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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.001238/0.4631, allocations: 1.003 MB / 0.5261 GB, free: 3.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000763/0.4638, allocations: 445.8 kB / 0.5265 GB, free: 3.199 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4638, allocations: 3.938 kB / 0.5265 GB, free: 3.195 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.4641, allocations: 211 kB / 0.5267 GB, free: 2.977 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009311/0.4651, allocations: 168.3 kB / 0.5269 GB, free: 2.812 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004623/0.4697, allocations: 3.112 MB / 0.5299 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.4699, allocations: 151.9 kB / 0.5301 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003448/0.4702, allocations: 58.89 kB / 0.5301 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.4704, allocations: 91.41 kB / 0.5302 GB, free: 15.2 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4704, allocations: 0 / 0.5302 GB, free: 15.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04838/0.5188, allocations: 10.43 MB / 0.5404 GB, free: 4.691 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.15, allocations: 4.062 kB / 0.5404 GB, free: 4.688 MB / 462.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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: 15.580460229888558]