Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.0008684/0.0008684, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.0008528/0.0008528, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8311/0.8311, allocations: 177.1 MB / 204.2 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.888e-05, allocations: 6.219 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01619/0.01621, allocations: 24.47 MB / 349 MB, free: 7.348 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002816/0.01902, allocations: 3.75 MB / 352.8 MB, free: 3.582 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.01918, allocations: 7.938 kB / 352.8 MB, free: 3.574 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.01966, allocations: 198.7 kB / 353 MB, free: 3.379 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004447/0.0201, allocations: 361.7 kB / 353.4 MB, free: 3.023 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.02281, allocations: 1.495 MB / 354.8 MB, free: 1.527 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008658/0.02368, allocations: 0.9021 MB / 355.8 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.02382, allocations: 76.88 kB / 355.8 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00366/0.02748, allocations: 4.271 MB / 360.1 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.02773, allocations: 255.2 kB / 360.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.02776, allocations: 32 kB / 360.4 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008449/0.02861, allocations: 0.6945 MB / 361.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.649e-05/0.02869, allocations: 99.64 kB / 361.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.0288, allocations: 147.7 kB / 361.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007904/0.02959, allocations: 0.9625 MB / 362.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.02959, allocations: 0 / 362.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.0296, allocations: 4 kB / 362.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.0296, allocations: 0 / 362.3 MB, free: 10.08 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008894/0.03049, allocations: 0.5783 MB / 362.9 MB, free: 9.477 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.03053, allocations: 8.031 kB / 362.9 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.254e-05/0.03058, allocations: 70.72 kB / 362.9 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002516/0.03083, allocations: 56.72 kB / 363 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.03115, allocations: 229.2 kB / 363.2 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.03116, allocations: 21.03 kB / 363.2 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.0312, allocations: 32.36 kB / 363.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.03158, allocations: 494.4 kB / 363.7 MB, free: 8.477 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.03159, allocations: 192 / 363.7 MB, free: 8.477 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.03162, allocations: 15.94 kB / 363.8 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.03163, allocations: 8 kB / 363.8 MB, free: 8.453 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.03185, allocations: 217.6 kB / 364 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005792/0.03764, allocations: 4.129 MB / 368.1 MB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.03789, allocations: 166.7 kB / 368.3 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.641e-05/0.03799, allocations: 88.75 kB / 368.4 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004699/0.04269, allocations: 2.672 MB / 371 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.04271, allocations: 38.5 kB / 371.1 MB, free: 1.047 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.934e-06/0.04272, allocations: 0 / 371.1 MB, free: 1.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.003177/0.04589, allocations: 1.267 MB / 372.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.04592, allocations: 55.41 kB / 372.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.0461, allocations: 269.8 kB / 372.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.04612, allocations: 29.7 kB / 372.7 MB, free: 15.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.04621, allocations: 196.4 kB / 372.9 MB, free: 15.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.04625, allocations: 99.16 kB / 373 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.04632, allocations: 65.7 kB / 373 MB, free: 15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.565e-05/0.0464, allocations: 334.8 kB / 373.4 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.04651, allocations: 91.95 kB / 373.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.04665, allocations: 186.9 kB / 373.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.04692, allocations: 303 kB / 373.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.04692, allocations: 4 kB / 373.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004244/0.04734, allocations: 399 kB / 374.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.04736, allocations: 8 kB / 374.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.04737, allocations: 4 kB / 374.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/0.04927, allocations: 0.9306 MB / 375.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.04943, allocations: 75.84 kB / 375.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.05064, allocations: 1.871 MB / 377.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.48e-05/0.05074, allocations: 8 kB / 377.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.05075, allocations: 16 kB / 377.2 MB, free: 10.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.05087, allocations: 149.8 kB / 377.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.05091, allocations: 35.78 kB / 377.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.05137, allocations: 0.4947 MB / 377.9 MB, free: 9.871 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.05138, allocations: 8.047 kB / 377.9 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.05138, allocations: 4 kB / 377.9 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004165/0.0518, allocations: 0.7199 MB / 378.6 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007992/0.0526, allocations: 0.8833 MB / 379.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.0526, allocations: 4 kB / 379.5 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.0527, allocations: 39.97 kB / 379.6 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007662/0.05347, allocations: 320.3 kB / 379.9 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.05349, allocations: 19.92 kB / 379.9 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003899/0.05388, allocations: 0.6422 MB / 380.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.05388, allocations: 3.984 kB / 380.6 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008182/0.0547, allocations: 0.7334 MB / 381.3 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.05475, allocations: 31.73 kB / 381.3 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.05479, allocations: 7.938 kB / 381.3 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.05494, allocations: 8 kB / 381.3 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.05496, allocations: 20.09 kB / 381.3 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.05498, allocations: 11.98 kB / 381.4 MB, free: 6.223 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.05511, allocations: 181.2 kB / 381.5 MB, free: 6.047 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.05511, allocations: 0 / 381.5 MB, free: 6.047 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004162/0.05553, allocations: 187.7 kB / 381.7 MB, free: 5.863 MB / 346.7 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): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.05665, allocations: 1.46 MB / 383.2 MB, free: 4.367 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005141/0.05717, allocations: 454.2 kB / 383.6 MB, free: 3.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.05717, allocations: 0 / 383.6 MB, free: 3.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000555/0.05772, allocations: 228.8 kB / 383.8 MB, free: 3.688 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.05825, allocations: 168.1 kB / 384 MB, free: 3.523 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.06091, allocations: 3.275 MB / 387.3 MB, free: 88 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.06102, allocations: 168.3 kB / 387.5 MB, free: 15.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000144/0.06117, allocations: 50.94 kB / 387.5 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.06127, allocations: 104.5 kB / 387.6 MB, free: 15.75 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.06127, allocations: 0 / 387.6 MB, free: 15.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.08823, allocations: 14.56 MB / 402.2 MB, free: 1.422 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/7.645, allocations: 3.125 kB / 402.2 MB, free: 1.422 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.992051348090172]