Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.001791/0.001791, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 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.002134/0.002134, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.422/1.422, allocations: 207.6 MB / 235.3 MB, free: 10 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.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",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.001733/0.001733, allocations: 59.05 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2456, allocations: 49.16 MB / 396.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.1791/0.4247, allocations: 151.1 MB / 0.5346 GB, free: 11.72 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.4263, allocations: 0.989 MB / 0.5355 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.385e-05/0.4264, allocations: 7.938 kB / 0.5356 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.4266, allocations: 27.83 kB / 0.5356 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007885/0.4274, allocations: 246.6 kB / 0.5358 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.4279, allocations: 111.7 kB / 0.5359 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.4282, allocations: 179.2 kB / 0.5361 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.4282, allocations: 7.797 kB / 0.5361 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.4285, allocations: 87.62 kB / 0.5362 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.4286, allocations: 51.77 kB / 0.5362 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.4286, allocations: 4 kB / 0.5362 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006252/0.4293, allocations: 271.7 kB / 0.5365 GB, free: 9.754 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.429e-05/0.4293, allocations: 23.91 kB / 0.5365 GB, free: 9.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.105e-05/0.4294, allocations: 47.86 kB / 0.5366 GB, free: 9.684 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005691/0.43, allocations: 284.2 kB / 0.5368 GB, free: 9.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.43, allocations: 0 / 0.5368 GB, free: 9.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.43, allocations: 0 / 0.5368 GB, free: 9.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.43, allocations: 0 / 0.5368 GB, free: 9.41 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006286/0.4306, allocations: 329.9 kB / 0.5372 GB, free: 9.059 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.4307, allocations: 11.98 kB / 0.5372 GB, free: 9.047 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.711e-05/0.4307, allocations: 42.75 kB / 0.5372 GB, free: 8.996 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/0.4328, allocations: 188.6 kB / 0.5374 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.4332, allocations: 158.1 kB / 0.5375 GB, free: 8.633 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.4332, allocations: 8 kB / 0.5375 GB, free: 8.625 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.4333, allocations: 7.953 kB / 0.5376 GB, free: 8.617 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005579/0.4338, allocations: 228 kB / 0.5378 GB, free: 8.379 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4338, allocations: 4 kB / 0.5378 GB, free: 8.375 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.4339, allocations: 0 / 0.5378 GB, free: 8.375 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.4339, allocations: 4 kB / 0.5378 GB, free: 8.371 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.4343, allocations: 163.9 kB / 0.5379 GB, free: 8.211 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.001194/0.4355, allocations: 0.5591 MB / 0.5385 GB, free: 7.602 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.4359, allocations: 134.5 kB / 0.5386 GB, free: 7.461 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.4361, allocations: 64.83 kB / 0.5387 GB, free: 7.395 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.4361, allocations: 11.97 kB / 0.5387 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.4361, allocations: 34.56 kB / 0.5387 GB, free: 7.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.4361, allocations: 7.938 kB / 0.5387 GB, free: 7.332 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005335/0.4415, allocations: 1.148 MB / 0.5398 GB, free: 6.125 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.4415, allocations: 55.39 kB / 0.5399 GB, free: 6.059 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.4416, allocations: 113.8 kB / 0.54 GB, free: 5.938 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.4417, allocations: 29.7 kB / 0.54 GB, free: 5.902 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.4418, allocations: 99.98 kB / 0.5401 GB, free: 5.801 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.989e-05/0.4418, allocations: 71.41 kB / 0.5402 GB, free: 5.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.4419, allocations: 49.7 kB / 0.5402 GB, free: 5.676 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4421, allocations: 322.8 kB / 0.5406 GB, free: 5.352 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.4422, allocations: 75.95 kB / 0.5406 GB, free: 5.277 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.4424, allocations: 107.2 kB / 0.5407 GB, free: 5.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.4428, allocations: 183.2 kB / 0.5409 GB, free: 4.969 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.4428, allocations: 0 / 0.5409 GB, free: 4.969 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005375/0.4433, allocations: 266.2 kB / 0.5412 GB, free: 4.699 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.4434, allocations: 4 kB / 0.5412 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4434, allocations: 0 / 0.5412 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/0.4436, allocations: 52.77 kB / 0.5412 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.4439, allocations: 51.97 kB / 0.5413 GB, free: 4.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004993/0.4444, allocations: 0.5719 MB / 0.5418 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.4446, allocations: 4 kB / 0.5418 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.4446, allocations: 27.98 kB / 0.5418 GB, free: 3.961 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.4448, allocations: 117.8 kB / 0.542 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.4448, allocations: 11.95 kB / 0.542 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000794/0.4456, allocations: 351.3 kB / 0.5423 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.4456, allocations: 0 / 0.5423 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4456, allocations: 4 kB / 0.5423 GB, free: 3.473 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4456, allocations: 0 / 0.5423 GB, free: 3.473 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.4467, allocations: 0.5988 MB / 0.5429 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4467, allocations: 96 / 0.5429 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/0.4471, allocations: 67.89 kB / 0.543 GB, free: 2.746 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-05/0.4472, allocations: 20.84 kB / 0.543 GB, free: 2.723 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.4472, allocations: 19.98 kB / 0.543 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.4483, allocations: 1.263 MB / 0.5442 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4483, allocations: 4.031 kB / 0.5442 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007452/0.4491, allocations: 430.7 kB / 0.5446 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.4491, allocations: 15.88 kB / 0.5447 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.4491, allocations: 8 kB / 0.5447 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.4494, allocations: 11.98 kB / 0.5447 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.4494, allocations: 16.03 kB / 0.5447 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/0.4494, allocations: 35.98 kB / 0.5447 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.573e-05/0.4495, allocations: 87.27 kB / 0.5448 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4495, allocations: 3.938 kB / 0.5448 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004224/0.4499, allocations: 75.94 kB / 0.5449 GB, free: 0.6211 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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.001379/0.4513, allocations: 1.009 MB / 0.5459 GB, free: 15.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005377/0.4519, allocations: 207.8 kB / 0.5461 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4519, allocations: 0 / 0.5461 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.4522, allocations: 214.9 kB / 0.5463 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.4527, allocations: 43.95 kB / 0.5463 GB, free: 15.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.4557, allocations: 2.077 MB / 0.5483 GB, free: 12.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.4561, allocations: 0.7008 MB / 0.549 GB, free: 12.17 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000318/0.4564, allocations: 85.75 kB / 0.5491 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.4566, allocations: 67.41 kB / 0.5492 GB, free: 12.02 MB / 478.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4566, allocations: 0 / 0.5492 GB, free: 12.02 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04171/0.4984, allocations: 7.511 MB / 0.5565 GB, free: 4.457 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.3, allocations: 8.141 kB / 0.5565 GB, free: 4.449 MB / 478.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.846815593075007]