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.001567/0.001567, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001946/0.001946, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00178/0.00178, allocations: 43.92 kB / 377.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2477, allocations: 53.36 MB / 431.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03017/0.2779, allocations: 27.43 MB / 458.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005321/0.2832, allocations: 4.206 MB / 462.8 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002697/0.2835, allocations: 4 kB / 462.8 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007036/0.2842, allocations: 218.7 kB / 463 MB, free: 6.871 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007158/0.2849, allocations: 330.2 kB / 463.3 MB, free: 6.547 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004021/0.2889, allocations: 1.484 MB / 464.8 MB, free: 5.066 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.2901, allocations: 0.9029 MB / 465.7 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.2903, allocations: 72.89 kB / 465.8 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006813/0.2971, allocations: 4.139 MB / 469.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004736/0.2976, allocations: 294.8 kB / 470.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.2977, allocations: 35.94 kB / 470.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.2992, allocations: 0.7298 MB / 471 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.2993, allocations: 91.72 kB / 471.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.2996, allocations: 195.2 kB / 471.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.3009, allocations: 0.8531 MB / 472.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3009, allocations: 0 / 472.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3009, allocations: 0 / 472.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3009, allocations: 0 / 472.1 MB, free: 13.76 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009723/0.3019, allocations: 0.5906 MB / 472.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3019, allocations: 8.031 kB / 472.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.457e-05/0.302, allocations: 66.72 kB / 472.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004281/0.3024, allocations: 60.67 kB / 472.8 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.3029, allocations: 230 kB / 473.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.3029, allocations: 21.03 kB / 473.1 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.3029, allocations: 28.38 kB / 473.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/0.3035, allocations: 339.5 kB / 473.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.3035, allocations: 0 / 473.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.3036, allocations: 12 kB / 473.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.3036, allocations: 11.98 kB / 473.5 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.3039, allocations: 213.8 kB / 473.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/0.3167, allocations: 4.653 MB / 478.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.317, allocations: 178.5 kB / 478.5 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.3171, allocations: 76.84 kB / 478.6 MB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01012/0.3272, allocations: 2.684 MB / 481.3 MB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.3273, allocations: 34.56 kB / 481.3 MB, free: 4.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.033e-06/0.3273, allocations: 0 / 481.3 MB, free: 4.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006081/0.3334, allocations: 1.277 MB / 482.6 MB, free: 2.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.3334, allocations: 51.41 kB / 482.6 MB, free: 2.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.3337, allocations: 261.9 kB / 482.9 MB, free: 2.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.3338, allocations: 33.7 kB / 482.9 MB, free: 2.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.3339, allocations: 188.4 kB / 483.1 MB, free: 2.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.238e-05/0.334, allocations: 99.09 kB / 483.2 MB, free: 2.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.77e-05/0.3341, allocations: 77.59 kB / 483.3 MB, free: 2.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3342, allocations: 338.8 kB / 483.6 MB, free: 1.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.3344, allocations: 87.97 kB / 483.7 MB, free: 1.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.3346, allocations: 190.9 kB / 483.9 MB, free: 1.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.335, allocations: 299.7 kB / 484.2 MB, free: 1.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.335, allocations: 0 / 484.2 MB, free: 1.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007013/0.3357, allocations: 390.9 kB / 484.5 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3357, allocations: 4 kB / 484.5 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3358, allocations: 7.938 kB / 484.5 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004028/0.3398, allocations: 0.9301 MB / 485.5 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.3401, allocations: 71.91 kB / 485.5 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.3419, allocations: 1.878 MB / 487.4 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.3421, allocations: 8 kB / 487.4 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.3421, allocations: 19.94 kB / 487.5 MB, free: 13.77 MB / 398.1 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.0002227/0.3423, allocations: 153.7 kB / 487.6 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.3424, allocations: 27.81 kB / 487.6 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007792/0.3432, allocations: 0.5033 MB / 488.1 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.3432, allocations: 4 kB / 488.1 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.3432, allocations: 0 / 488.1 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007334/0.3439, allocations: 0.7238 MB / 488.9 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.3453, allocations: 0.9216 MB / 489.8 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3453, allocations: 7.969 kB / 489.8 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.3455, allocations: 43.97 kB / 489.8 MB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/0.3472, allocations: 320.4 kB / 490.1 MB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.3472, allocations: 4 kB / 490.2 MB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005565/0.3478, allocations: 0.6577 MB / 490.8 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.3478, allocations: 4 kB / 490.8 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009557/0.3487, allocations: 0.7329 MB / 491.5 MB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.3488, allocations: 35.72 kB / 491.6 MB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.3489, allocations: 4 kB / 491.6 MB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.349, allocations: 12.12 kB / 491.6 MB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.3491, allocations: 19.95 kB / 491.6 MB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.3491, allocations: 8 kB / 491.6 MB, free: 9.375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.3493, allocations: 193.1 kB / 491.8 MB, free: 9.188 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3493, allocations: 0 / 491.8 MB, free: 9.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006611/0.3499, allocations: 183.7 kB / 492 MB, free: 9.008 MB / 398.1 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.001716/0.3517, allocations: 1.442 MB / 493.4 MB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008284/0.3525, allocations: 454.8 kB / 493.9 MB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3525, allocations: 0 / 493.9 MB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005215/0.353, allocations: 227.8 kB / 494.1 MB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008882/0.3539, allocations: 172.2 kB / 494.3 MB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/0.3582, allocations: 3.33 MB / 497.6 MB, free: 3.191 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.3586, allocations: 0.776 MB / 498.4 MB, free: 2.391 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.3588, allocations: 50.94 kB / 498.4 MB, free: 2.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.359, allocations: 107.3 kB / 498.5 MB, free: 2.23 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.359, allocations: 0 / 498.5 MB, free: 2.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04701/0.406, allocations: 13.84 MB / 0.5004 GB, free: 4.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.69, allocations: 6.531 kB / 0.5004 GB, free: 4.566 MB / 414.1 MB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/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: 16.784173733001808]