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.0007999/0.0007999, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001161/0.001161, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8616/0.8616, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.924e-06/1.924e-06, allocations: 3.938 kB / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.383e-05, allocations: 2.281 kB / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01792/0.01794, allocations: 24.47 MB / 349 MB, free: 7.246 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.02115, allocations: 3.746 MB / 352.8 MB, free: 3.484 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.02136, allocations: 11.94 kB / 352.8 MB, free: 3.473 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005537/0.02191, allocations: 194.7 kB / 353 MB, free: 3.281 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005345/0.02245, allocations: 357.7 kB / 353.3 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003593/0.02604, allocations: 1.51 MB / 354.9 MB, free: 1.418 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008984/0.02694, allocations: 0.9021 MB / 355.8 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.02717, allocations: 72.88 kB / 355.8 MB, free: 452 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004443/0.03161, allocations: 4.271 MB / 360.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.03189, allocations: 251.2 kB / 360.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.03194, allocations: 32 kB / 360.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009608/0.0329, allocations: 0.7061 MB / 361.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.03301, allocations: 99.64 kB / 361.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.03313, allocations: 147.8 kB / 361.3 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.03418, allocations: 0.9586 MB / 362.3 MB, free: 9.977 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.03418, allocations: 3.938 kB / 362.3 MB, free: 9.973 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.03419, allocations: 0 / 362.3 MB, free: 9.973 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.03419, allocations: 0 / 362.3 MB, free: 9.973 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.0007563/0.03495, allocations: 0.582 MB / 362.9 MB, free: 9.363 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.03499, allocations: 8.031 kB / 362.9 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.302e-05/0.03504, allocations: 66.72 kB / 362.9 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.03532, allocations: 60.73 kB / 363 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.03567, allocations: 229.2 kB / 363.2 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.03568, allocations: 21.03 kB / 363.2 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.03572, allocations: 24.38 kB / 363.3 MB, free: 8.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.03611, allocations: 494.4 kB / 363.7 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.03613, allocations: 192 / 363.7 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.03615, allocations: 15.94 kB / 363.8 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.03616, allocations: 11.94 kB / 363.8 MB, free: 8.344 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.03639, allocations: 217.8 kB / 364 MB, free: 8.133 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005979/0.04237, allocations: 4.129 MB / 368.1 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.04262, allocations: 170.6 kB / 368.3 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.005e-05/0.04271, allocations: 80.83 kB / 368.4 MB, free: 3.664 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00446/0.04717, allocations: 2.668 MB / 371 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.0472, allocations: 42.5 kB / 371.1 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.903e-06/0.0472, allocations: 0 / 371.1 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.003422/0.05062, allocations: 1.267 MB / 372.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.05065, allocations: 55.41 kB / 372.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.05086, allocations: 265.8 kB / 372.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.05088, allocations: 37.7 kB / 372.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.04e-05/0.05097, allocations: 192.4 kB / 372.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.05101, allocations: 103.2 kB / 373 MB, free: 14.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-05/0.05108, allocations: 57.7 kB / 373 MB, free: 14.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.215e-05/0.05116, allocations: 334.8 kB / 373.4 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.05127, allocations: 95.95 kB / 373.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.05141, allocations: 182.9 kB / 373.6 MB, free: 14.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.05168, allocations: 307 kB / 373.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.05168, allocations: 0 / 373.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004353/0.05211, allocations: 402.8 kB / 374.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.05213, allocations: 8 kB / 374.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.05214, allocations: 0 / 374.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00209/0.05423, allocations: 0.938 MB / 375.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.0544, allocations: 75.84 kB / 375.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.05545, allocations: 1.867 MB / 377.2 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.05557, allocations: 8 kB / 377.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.05558, allocations: 16 kB / 377.2 MB, free: 10.46 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.0001359/0.05572, allocations: 146 kB / 377.4 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.05576, allocations: 35.8 kB / 377.4 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000485/0.05625, allocations: 0.4948 MB / 377.9 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.05626, allocations: 4 kB / 377.9 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.05626, allocations: 3.938 kB / 377.9 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004274/0.05669, allocations: 0.7238 MB / 378.6 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008484/0.05753, allocations: 0.8872 MB / 379.5 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.05754, allocations: 0 / 379.5 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.05764, allocations: 47.97 kB / 379.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007861/0.05843, allocations: 324.3 kB / 379.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.05845, allocations: 8 kB / 379.9 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003137/0.05876, allocations: 0.646 MB / 380.5 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.05876, allocations: 0 / 380.5 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.05934, allocations: 0.7333 MB / 381.3 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.05939, allocations: 39.91 kB / 381.3 MB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.05941, allocations: 7.938 kB / 381.3 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.139e-05/0.0595, allocations: 11.98 kB / 381.3 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.05953, allocations: 16.05 kB / 381.4 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.05954, allocations: 12 kB / 381.4 MB, free: 6.113 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.05967, allocations: 185.2 kB / 381.5 MB, free: 5.934 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05967, allocations: 0 / 381.5 MB, free: 5.934 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004617/0.06013, allocations: 183.7 kB / 381.7 MB, free: 5.754 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.001263/0.06139, allocations: 1.456 MB / 383.2 MB, free: 4.262 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005769/0.06197, allocations: 454 kB / 383.6 MB, free: 3.805 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.06197, allocations: 0.75 kB / 383.6 MB, free: 3.805 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.06228, allocations: 228.3 kB / 383.8 MB, free: 3.582 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.06285, allocations: 164.1 kB / 384 MB, free: 3.422 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.06575, allocations: 3.279 MB / 387.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.06586, allocations: 168.3 kB / 387.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.06602, allocations: 42.97 kB / 387.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.06612, allocations: 108.5 kB / 387.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.06612, allocations: 4 kB / 387.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.09424, allocations: 14.55 MB / 402.2 MB, free: 1.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.386/8.48, allocations: 6.906 kB / 402.2 MB, free: 1.316 MB / 362.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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.csv","/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: 10.66317405179143]