Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001492/0.001492, allocations: 120.4 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 63.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09665/0.09845, allocations: 53.33 MB / 426.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2149/0.3133, allocations: 37.7 MB / 464.4 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006093/0.3194, allocations: 4.596 MB / 469 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004653/0.3199, allocations: 9.438 kB / 469 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008652/0.3208, allocations: 304.8 kB / 469.3 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001/0.3218, allocations: 489.1 kB / 469.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004719/0.3265, allocations: 1.642 MB / 471.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001685/0.3282, allocations: 1.268 MB / 472.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.3284, allocations: 117.2 kB / 472.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006644/0.3291, allocations: 484.7 kB / 473.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000515/0.3296, allocations: 430.3 kB / 473.7 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.873e-05/0.3297, allocations: 45.38 kB / 473.7 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.3312, allocations: 0.7635 MB / 474.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.3314, allocations: 146 kB / 474.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.3317, allocations: 272.9 kB / 474.9 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.3332, allocations: 1.05 MB / 475.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3332, allocations: 0 / 475.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3332, allocations: 0 / 475.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.3332, allocations: 5.562 kB / 475.9 MB, free: 11.53 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001188/0.3344, allocations: 0.7906 MB / 476.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3344, allocations: 9.125 kB / 476.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.185e-05/0.3345, allocations: 80.17 kB / 476.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005871/0.3351, allocations: 78 kB / 476.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005535/0.3356, allocations: 341.3 kB / 477.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.3357, allocations: 29.56 kB / 477.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.3357, allocations: 37.88 kB / 477.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007014/0.3364, allocations: 478.1 kB / 477.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.3365, allocations: 1.219 kB / 477.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/0.3365, allocations: 17.41 kB / 477.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.3365, allocations: 10.91 kB / 477.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.337, allocations: 309.2 kB / 478.1 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01379/0.3508, allocations: 6.748 MB / 484.8 MB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.3513, allocations: 267.7 kB / 485.1 MB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.3515, allocations: 143.4 kB / 485.2 MB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.3618, allocations: 3.88 MB / 489.1 MB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.3618, allocations: 41.81 kB / 489.2 MB, free: 1.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.735e-06/0.3618, allocations: 0.7969 kB / 489.2 MB, free: 1.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01167/0.3735, allocations: 2.461 MB / 491.6 MB, free: 15.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.3735, allocations: 55.41 kB / 491.7 MB, free: 15.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.3739, allocations: 307.2 kB / 492 MB, free: 14.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.3739, allocations: 37.7 kB / 492 MB, free: 14.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.3741, allocations: 224.5 kB / 492.2 MB, free: 14.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.3742, allocations: 166.6 kB / 492.4 MB, free: 14.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.3744, allocations: 98.2 kB / 492.5 MB, free: 14.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3745, allocations: 346.8 kB / 492.8 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.3748, allocations: 157 kB / 493 MB, free: 13.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.3752, allocations: 279.7 kB / 493.3 MB, free: 13.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000665/0.3758, allocations: 468.3 kB / 493.7 MB, free: 12.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3758, allocations: 0 / 493.7 MB, free: 12.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00108/0.3769, allocations: 0.5918 MB / 494.3 MB, free: 12.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.3769, allocations: 11.94 kB / 494.3 MB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3769, allocations: 480 / 494.3 MB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007878/0.3848, allocations: 1.854 MB / 496.2 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/0.3853, allocations: 107.8 kB / 496.3 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.3876, allocations: 2.568 MB / 498.9 MB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.3879, allocations: 20.12 kB / 498.9 MB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.388, allocations: 20 kB / 498.9 MB, free: 7.566 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002445/0.3882, allocations: 177.6 kB / 499.1 MB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/0.3883, allocations: 39.77 kB / 499.1 MB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.3896, allocations: 0.8515 MB / 500 MB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.3896, allocations: 8.781 kB / 500 MB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3896, allocations: 7.984 kB / 500 MB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001119/0.3907, allocations: 0.9612 MB / 0.4892 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.3928, allocations: 1.484 MB / 0.4906 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3928, allocations: 0 / 0.4906 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.3931, allocations: 75.89 kB / 0.4907 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003394/0.3965, allocations: 0.6206 MB / 0.4913 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.3965, allocations: 15.92 kB / 0.4913 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.3976, allocations: 1.284 MB / 0.4926 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3976, allocations: 0 / 0.4926 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.3992, allocations: 1.225 MB / 0.4938 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.3993, allocations: 112.8 kB / 0.4939 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.155e-05/0.3994, allocations: 16.91 kB / 0.4939 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.3996, allocations: 11.94 kB / 0.4939 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.3997, allocations: 23.97 kB / 0.4939 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.3997, allocations: 19.98 kB / 0.494 GB, free: 392 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002285/0.3999, allocations: 209.9 kB / 0.4942 GB, free: 180 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3999, allocations: 4 kB / 0.4942 GB, free: 176 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008049/0.4008, allocations: 235.7 kB / 0.4944 GB, free: 15.94 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002468/0.4032, allocations: 1.934 MB / 0.4963 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.4045, allocations: 0.672 MB / 0.4969 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4045, allocations: 0 / 0.4969 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009481/0.4054, allocations: 431.9 kB / 0.4973 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.4066, allocations: 245.4 kB / 0.4976 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006193/0.4128, allocations: 4.469 MB / 0.5019 GB, free: 7.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005729/0.4134, allocations: 0.8362 MB / 0.5028 GB, free: 7.109 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003255/0.4137, allocations: 72.28 kB / 0.5028 GB, free: 7.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.4139, allocations: 159.4 kB / 0.503 GB, free: 6.883 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4139, allocations: 0 / 0.503 GB, free: 6.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04816/0.4621, allocations: 17.47 MB / 0.52 GB, free: 5.512 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.93, allocations: 8 kB / 0.52 GB, free: 5.504 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.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: 17.217131614219397]