Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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.00135/0.00135, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001455/0.001455, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 53.58 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2438, allocations: 49.15 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03428/0.2781, allocations: 33.94 MB / 430.3 MB, free: 228 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006366/0.2845, allocations: 4.157 MB / 434.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.2848, allocations: 13.66 kB / 434.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.2858, allocations: 281 kB / 434.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.2869, allocations: 489.3 kB / 435.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00547/0.2924, allocations: 1.631 MB / 436.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001584/0.2939, allocations: 1.284 MB / 438.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.2942, allocations: 119 kB / 438.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007136/0.2949, allocations: 494.4 kB / 438.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005455/0.2955, allocations: 410.3 kB / 439.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.665e-05/0.2955, allocations: 48 kB / 439.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.2971, allocations: 0.7375 MB / 439.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.2972, allocations: 135.6 kB / 440 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.2975, allocations: 243.1 kB / 440.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.2989, allocations: 1.052 MB / 441.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.299, allocations: 0 / 441.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.299, allocations: 3.984 kB / 441.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.299, allocations: 0 / 441.3 MB, free: 6.035 MB / 350.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.001164/0.3001, allocations: 0.7152 MB / 442.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3002, allocations: 11.98 kB / 442.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.3003, allocations: 82.7 kB / 442.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005498/0.3008, allocations: 80.62 kB / 442.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005414/0.3014, allocations: 277.7 kB / 442.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.3014, allocations: 29.38 kB / 442.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.387e-05/0.3015, allocations: 48.33 kB / 442.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007947/0.3023, allocations: 0.6652 MB / 443.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.3023, allocations: 0 / 443.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.3023, allocations: 16 kB / 443.3 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.3023, allocations: 12 kB / 443.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004758/0.3028, allocations: 303.7 kB / 443.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.3153, allocations: 4.624 MB / 448.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.3157, allocations: 246.5 kB / 448.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.316, allocations: 137.4 kB / 448.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009842/0.3258, allocations: 2.699 MB / 451.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.3258, allocations: 42.5 kB / 451.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.485e-06/0.3258, allocations: 0 / 451.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.01125/0.3371, allocations: 2.311 MB / 453.6 MB, free: 9.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.3371, allocations: 59.41 kB / 453.7 MB, free: 9.367 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.3375, allocations: 308.4 kB / 454 MB, free: 9.062 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.3375, allocations: 37.7 kB / 454 MB, free: 9.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.3377, allocations: 232.5 kB / 454.2 MB, free: 8.785 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.3378, allocations: 166.6 kB / 454.4 MB, free: 8.621 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.338, allocations: 102.3 kB / 454.5 MB, free: 8.516 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3381, allocations: 342.8 kB / 454.8 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.3384, allocations: 153.2 kB / 455 MB, free: 8.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.3388, allocations: 280.7 kB / 455.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006703/0.3394, allocations: 476.2 kB / 455.7 MB, free: 7.184 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3395, allocations: 0 / 455.7 MB, free: 7.184 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001066/0.3405, allocations: 0.5881 MB / 456.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3405, allocations: 11.98 kB / 456.3 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3405, allocations: 4 kB / 456.3 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007616/0.3482, allocations: 1.844 MB / 458.2 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004431/0.3486, allocations: 107.8 kB / 458.3 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.3508, allocations: 2.45 MB / 460.7 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.3511, allocations: 16 kB / 460.7 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.3512, allocations: 27.94 kB / 460.8 MB, free: 1.941 MB / 366.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.0002554/0.3514, allocations: 181.6 kB / 460.9 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.701e-05/0.3515, allocations: 39.77 kB / 461 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.3528, allocations: 0.8725 MB / 461.9 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.3528, allocations: 12.16 kB / 461.9 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3528, allocations: 7.984 kB / 461.9 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001168/0.354, allocations: 0.9747 MB / 462.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.3561, allocations: 1.421 MB / 464.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3561, allocations: 0 / 464.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.3565, allocations: 79.89 kB / 464.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003233/0.3597, allocations: 0.6219 MB / 465 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.134e-05/0.3597, allocations: 15.94 kB / 465 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.3609, allocations: 1.292 MB / 466.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3609, allocations: 3.938 kB / 466.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.3626, allocations: 1.251 MB / 467.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.3627, allocations: 47.69 kB / 467.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.3628, allocations: 8 kB / 467.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.363, allocations: 15.94 kB / 467.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.3631, allocations: 31.94 kB / 467.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.3631, allocations: 19.98 kB / 467.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002411/0.3634, allocations: 207.1 kB / 467.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3634, allocations: 0 / 467.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000757/0.3641, allocations: 231.7 kB / 468.1 MB, free: 10.39 MB / 382.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.002526/0.3666, allocations: 1.969 MB / 470.1 MB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.3679, allocations: 0.6841 MB / 470.7 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3679, allocations: 0 / 470.7 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008852/0.3688, allocations: 428.2 kB / 471.2 MB, free: 7.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.37, allocations: 236.5 kB / 471.4 MB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006078/0.3761, allocations: 4.499 MB / 475.9 MB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.3763, allocations: 233.3 kB / 476.1 MB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003317/0.3767, allocations: 72.33 kB / 476.2 MB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.3769, allocations: 159.4 kB / 476.3 MB, free: 1.855 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3769, allocations: 0 / 476.3 MB, free: 1.855 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05117/0.428, allocations: 18.5 MB / 494.8 MB, free: 15.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/13.78, allocations: 12.05 kB / 494.8 MB, free: 15.26 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_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_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.256695645861328]