Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.0008043/0.0008043, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003348/0.003348, allocations: 161.6 kB / 24.69 MB, free: 8.883 MB / 18.57 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 0.8811/0.8811, allocations: 158.6 MB / 186.5 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 298.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.786e-05, allocations: 6.219 kB / 298.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.2388/0.2388, allocations: 149.4 MB / 447.9 MB, free: 8.984 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.2413, allocations: 2.94 MB / 450.8 MB, free: 6.031 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.2415, allocations: 4 kB / 450.8 MB, free: 6.027 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004647/0.2419, allocations: 168.2 kB / 451 MB, free: 5.863 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005458/0.2425, allocations: 429.2 kB / 451.4 MB, free: 5.441 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005476/0.243, allocations: 364.5 kB / 451.7 MB, free: 5.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005526/0.2436, allocations: 0.8989 MB / 452.6 MB, free: 4.188 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.2437, allocations: 64.89 kB / 452.7 MB, free: 4.125 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.2448, allocations: 0.9421 MB / 453.6 MB, free: 3.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.2451, allocations: 247.2 kB / 453.9 MB, free: 2.938 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.2451, allocations: 35.94 kB / 453.9 MB, free: 2.902 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.2453, allocations: 119.9 kB / 454 MB, free: 2.785 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.446e-05/0.2453, allocations: 103.6 kB / 454.1 MB, free: 2.684 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2454, allocations: 135.8 kB / 454.3 MB, free: 2.551 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004268/0.2459, allocations: 0.5454 MB / 454.8 MB, free: 2.004 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2459, allocations: 0 / 454.8 MB, free: 2.004 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2459, allocations: 0 / 454.8 MB, free: 2.004 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2459, allocations: 1.969 kB / 454.8 MB, free: 2.004 MB / 410.7 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.0008445/0.2467, allocations: 0.5206 MB / 455.3 MB, free: 1.453 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2468, allocations: 15.98 kB / 455.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.122e-05/0.2468, allocations: 58.55 kB / 455.4 MB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.247, allocations: 43.8 kB / 455.5 MB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.2473, allocations: 229.2 kB / 455.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.2473, allocations: 20.5 kB / 455.7 MB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.2474, allocations: 27.98 kB / 455.7 MB, free: 1.031 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.2477, allocations: 0.5413 MB / 456.3 MB, free: 416 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2478, allocations: 0 / 456.3 MB, free: 416 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.2478, allocations: 12 kB / 456.3 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.2478, allocations: 11.94 kB / 456.3 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/0.248, allocations: 201.8 kB / 456.5 MB, free: 192 kB / 410.7 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.1345/0.3825, allocations: 1.177 MB / 457.7 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.3827, allocations: 164.7 kB / 457.8 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3828, allocations: 90.69 kB / 457.9 MB, free: 142.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3828, allocations: 5 kB / 457.9 MB, free: 142.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.3828, allocations: 42.48 kB / 458 MB, free: 142.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.3829, allocations: 0 / 458 MB, free: 142.2 MB / 410.7 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.002986/0.3858, allocations: 1.323 MB / 459.3 MB, free: 141.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.3859, allocations: 59.12 kB / 459.3 MB, free: 141.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.386, allocations: 263.8 kB / 459.6 MB, free: 141.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3861, allocations: 30.83 kB / 459.6 MB, free: 141.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.3861, allocations: 184.8 kB / 459.8 MB, free: 141.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.3862, allocations: 93.89 kB / 459.9 MB, free: 141.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.3862, allocations: 83.61 kB / 460 MB, free: 141.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.3863, allocations: 338 kB / 460.3 MB, free: 140.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.3864, allocations: 88.89 kB / 460.4 MB, free: 140.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.3866, allocations: 194.1 kB / 460.6 MB, free: 140.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.3868, allocations: 302 kB / 460.9 MB, free: 140.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3868, allocations: 1.375 kB / 460.9 MB, free: 140.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004506/0.3873, allocations: 405.4 kB / 461.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3873, allocations: 6.688 kB / 461.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3873, allocations: 2.875 kB / 461.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001752/0.3875, allocations: 74.19 kB / 461.4 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.3877, allocations: 85.38 kB / 461.4 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007139/0.3884, allocations: 1.845 MB / 463.3 MB, free: 138.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.3885, allocations: 10.16 kB / 463.3 MB, free: 138.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.3886, allocations: 40.84 kB / 463.3 MB, free: 138.4 MB / 410.7 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.0001047/0.3887, allocations: 156.2 kB / 463.5 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.3887, allocations: 32.02 kB / 463.5 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005981/0.3893, allocations: 446.2 kB / 464 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.3893, allocations: 4.562 kB / 464 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3893, allocations: 0 / 464 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003566/0.3897, allocations: 0.5581 MB / 464.5 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008197/0.3905, allocations: 0.6741 MB / 465.2 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3905, allocations: 2.594 kB / 465.2 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.3907, allocations: 75.61 kB / 465.3 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.749e-05/0.3908, allocations: 22.28 kB / 465.3 MB, free: 137 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.3908, allocations: 14.06 kB / 465.3 MB, free: 137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004818/0.3913, allocations: 1.269 MB / 466.6 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3913, allocations: 0.9375 kB / 466.6 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.3919, allocations: 478.2 kB / 467 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.3919, allocations: 21.42 kB / 467.1 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.3919, allocations: 7.312 kB / 467.1 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.3921, allocations: 13.95 kB / 467.1 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.3921, allocations: 30.06 kB / 467.1 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.3922, allocations: 31.16 kB / 467.2 MB, free: 135.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001643/0.3923, allocations: 185.4 kB / 467.3 MB, free: 135.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3923, allocations: 1.219 kB / 467.3 MB, free: 135.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004867/0.3928, allocations: 125.5 kB / 467.5 MB, free: 135.3 MB / 410.7 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.0008728/0.3937, allocations: 1.061 MB / 468.5 MB, free: 134.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004639/0.3941, allocations: 368.7 kB / 468.9 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3941, allocations: 0 / 468.9 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.3943, allocations: 240.8 kB / 469.1 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005594/0.3949, allocations: 160.5 kB / 469.3 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.3975, allocations: 3.127 MB / 472.4 MB, free: 132 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.3976, allocations: 155.3 kB / 472.5 MB, free: 131.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003115/0.3979, allocations: 119.2 kB / 472.7 MB, free: 131.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.3981, allocations: 131.3 kB / 472.8 MB, free: 131.8 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.3981, allocations: 0 / 472.8 MB, free: 131.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.4242, allocations: 12.95 MB / 485.7 MB, free: 125.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.286, allocations: 4.062 kB / 485.7 MB, free: 125.6 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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: 9.9077667882666]