Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 103.6 kB / 20.43 MB, free: 1.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 187.5 kB / 23.71 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.7 MB / 252.5 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 47.92 kB / 370.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.243, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02927/0.2723, allocations: 24.48 MB / 447.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00576/0.278, allocations: 3.774 MB / 450.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002836/0.2783, allocations: 7.938 kB / 450.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000791/0.2791, allocations: 182.8 kB / 451 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000844/0.2799, allocations: 346.1 kB / 451.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005148/0.2851, allocations: 1.463 MB / 452.8 MB, free: 20 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.2865, allocations: 0.899 MB / 453.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.2867, allocations: 72.84 kB / 453.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006427/0.2932, allocations: 4.139 MB / 457.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004253/0.2936, allocations: 274.8 kB / 458.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.2937, allocations: 32 kB / 458.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.2951, allocations: 0.7024 MB / 458.9 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.2952, allocations: 103.6 kB / 459 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.2954, allocations: 163.5 kB / 459.2 MB, free: 9.641 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.2966, allocations: 0.853 MB / 460 MB, free: 8.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2966, allocations: 4 kB / 460 MB, free: 8.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2966, allocations: 0 / 460 MB, free: 8.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.2966, allocations: 0 / 460 MB, free: 8.781 MB / 366.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.0009536/0.2975, allocations: 0.5789 MB / 460.6 MB, free: 8.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2976, allocations: 8.031 kB / 460.6 MB, free: 8.164 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.095e-05/0.2976, allocations: 70.73 kB / 460.7 MB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004311/0.2981, allocations: 60.66 kB / 460.8 MB, free: 8.027 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.2985, allocations: 226 kB / 461 MB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.2985, allocations: 21.03 kB / 461 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.2986, allocations: 32.38 kB / 461 MB, free: 7.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.2992, allocations: 493.7 kB / 461.5 MB, free: 7.176 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.2992, allocations: 4 kB / 461.5 MB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.2992, allocations: 16 kB / 461.5 MB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2993, allocations: 4 kB / 461.5 MB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.2996, allocations: 213.8 kB / 461.8 MB, free: 6.945 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/0.3137, allocations: 4.133 MB / 465.9 MB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.3142, allocations: 166.6 kB / 466 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.3144, allocations: 80.92 kB / 466.1 MB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01494/0.3293, allocations: 2.692 MB / 468.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.799e-05/0.3294, allocations: 42.5 kB / 468.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 3.276e-06/0.3294, allocations: 0 / 468.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.009701/0.3391, allocations: 1.247 MB / 470.1 MB, free: 14.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.3392, allocations: 71.27 kB / 470.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.3397, allocations: 265.8 kB / 470.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.3397, allocations: 29.7 kB / 470.5 MB, free: 14.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.3399, allocations: 192.4 kB / 470.7 MB, free: 13.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.34, allocations: 95.2 kB / 470.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.3402, allocations: 65.66 kB / 470.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.3404, allocations: 334.8 kB / 471.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.3407, allocations: 95.73 kB / 471.2 MB, free: 13.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/0.341, allocations: 189.2 kB / 471.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006506/0.3417, allocations: 299 kB / 471.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3417, allocations: 4 kB / 471.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00109/0.3428, allocations: 398.8 kB / 472.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.3428, allocations: 10.19 kB / 472.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3428, allocations: 7.938 kB / 472.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006075/0.3489, allocations: 0.9297 MB / 473 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.3493, allocations: 71.91 kB / 473.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.3518, allocations: 1.867 MB / 475 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.3522, allocations: 8 kB / 475 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.3522, allocations: 16 kB / 475 MB, free: 9.27 MB / 382.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.0002895/0.3525, allocations: 157.8 kB / 475.2 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.3526, allocations: 35.81 kB / 475.2 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.3537, allocations: 494.3 kB / 475.7 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.3538, allocations: 15.91 kB / 475.7 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3538, allocations: 0 / 475.7 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/0.3548, allocations: 0.7323 MB / 476.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.3569, allocations: 0.8904 MB / 477.3 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.357, allocations: 0 / 477.3 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.3572, allocations: 47.97 kB / 477.4 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002331/0.3596, allocations: 312.5 kB / 477.7 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.3596, allocations: 7.984 kB / 477.7 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007702/0.3604, allocations: 0.6577 MB / 478.3 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3604, allocations: 0 / 478.3 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.3618, allocations: 0.7406 MB / 479.1 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.466e-05/0.3619, allocations: 27.95 kB / 479.1 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.3619, allocations: 16 kB / 479.1 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.3622, allocations: 4 kB / 479.1 MB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.3623, allocations: 15.97 kB / 479.1 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.3623, allocations: 15.98 kB / 479.2 MB, free: 4.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002801/0.3626, allocations: 177.2 kB / 479.3 MB, free: 4.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3626, allocations: 0 / 479.3 MB, free: 4.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009953/0.3636, allocations: 195.7 kB / 479.5 MB, free: 4.531 MB / 382.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.002463/0.366, allocations: 1.43 MB / 480.9 MB, free: 3.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.3672, allocations: 446.3 kB / 481.4 MB, free: 2.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.3672, allocations: 0.75 kB / 481.4 MB, free: 2.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007414/0.3679, allocations: 235.6 kB / 481.6 MB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.3693, allocations: 172.1 kB / 481.8 MB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006218/0.3755, allocations: 3.32 MB / 485.1 MB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.3758, allocations: 168.2 kB / 485.3 MB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002577/0.376, allocations: 54.94 kB / 485.3 MB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.3762, allocations: 103.4 kB / 485.4 MB, free: 14.39 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3762, allocations: 0 / 485.4 MB, free: 14.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05065/0.4269, allocations: 14.45 MB / 499.9 MB, free: 180 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.42, allocations: 3.562 kB / 499.9 MB, free: 180 kB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.5511852982454]