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.001651/0.001651, allocations: 119 kB / 17.78 MB, free: 5.25 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.002027/0.002027, allocations: 193.2 kB / 20.73 MB, free: 2.312 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.504/1.504, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.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.001592/0.001592, allocations: 47.92 kB / 365.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09985/0.1014, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03194/0.1334, allocations: 27.17 MB / 445 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.207/0.3404, allocations: 4.164 MB / 449.1 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003428/0.3408, allocations: 10.03 kB / 449.1 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006356/0.3414, allocations: 207.8 kB / 449.3 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006591/0.342, allocations: 339.8 kB / 449.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003704/0.3458, allocations: 1.473 MB / 451.1 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.3469, allocations: 0.8879 MB / 452 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.3471, allocations: 76.62 kB / 452.1 MB, free: 6.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006514/0.3536, allocations: 4.086 MB / 456.2 MB, free: 6.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004627/0.3541, allocations: 291.1 kB / 456.5 MB, free: 6.582 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.3541, allocations: 31.12 kB / 456.5 MB, free: 6.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.3557, allocations: 0.7294 MB / 457.2 MB, free: 6.574 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.3558, allocations: 96.34 kB / 457.3 MB, free: 6.559 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.3561, allocations: 206.2 kB / 457.5 MB, free: 6.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.3576, allocations: 0.845 MB / 458.4 MB, free: 6.434 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3576, allocations: 0 / 458.4 MB, free: 6.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3576, allocations: 1.125 kB / 458.4 MB, free: 6.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.3576, allocations: 0 / 458.4 MB, free: 6.434 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.001068/0.3586, allocations: 0.6599 MB / 459 MB, free: 5.945 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3587, allocations: 9.5 kB / 459 MB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.139e-05/0.3588, allocations: 68.5 kB / 459.1 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004739/0.3592, allocations: 63.17 kB / 459.2 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.3597, allocations: 289.5 kB / 459.5 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.3597, allocations: 21.38 kB / 459.5 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/0.3598, allocations: 26.97 kB / 459.5 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.3603, allocations: 340.8 kB / 459.8 MB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.3603, allocations: 4.438 kB / 459.8 MB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.3603, allocations: 11.84 kB / 459.8 MB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.3603, allocations: 8.062 kB / 459.9 MB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.3607, allocations: 208.9 kB / 460.1 MB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01266/0.3733, allocations: 5.909 MB / 466 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.3736, allocations: 171.9 kB / 466.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.3738, allocations: 83.27 kB / 466.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.384, allocations: 3.892 MB / 470.1 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.384, allocations: 35.25 kB / 470.1 MB, free: 500 kB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.114e-06/0.384, allocations: 0 / 470.1 MB, free: 500 kB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.00644/0.3904, allocations: 1.418 MB / 471.6 MB, free: 44 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.3905, allocations: 54.31 kB / 471.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.3908, allocations: 263 kB / 471.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.3909, allocations: 30.92 kB / 471.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.391, allocations: 194.1 kB / 472.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.09e-05/0.3911, allocations: 94.28 kB / 472.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.3912, allocations: 69.64 kB / 472.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3914, allocations: 337.8 kB / 472.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.3915, allocations: 97.7 kB / 472.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.3918, allocations: 192.7 kB / 472.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/0.3922, allocations: 303 kB / 473.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3922, allocations: 1.219 kB / 473.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007136/0.3929, allocations: 392.1 kB / 473.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3929, allocations: 6.688 kB / 473.6 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3929, allocations: 3.406 kB / 473.6 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004365/0.3973, allocations: 0.9361 MB / 474.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.3976, allocations: 64.5 kB / 474.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.3996, allocations: 1.985 MB / 476.5 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.3999, allocations: 9.25 kB / 476.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.3999, allocations: 15.03 kB / 476.6 MB, free: 12.75 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.0002499/0.4001, allocations: 164.5 kB / 476.7 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.66e-05/0.4002, allocations: 34.28 kB / 476.8 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007589/0.401, allocations: 489.6 kB / 477.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.401, allocations: 6.734 kB / 477.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.401, allocations: 1.734 kB / 477.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007202/0.4017, allocations: 0.7213 MB / 478 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.4031, allocations: 0.942 MB / 478.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.4032, allocations: 3.984 kB / 478.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.4033, allocations: 45.27 kB / 479 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/0.4051, allocations: 316 kB / 479.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.4052, allocations: 11.77 kB / 479.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005889/0.4057, allocations: 0.6468 MB / 479.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4058, allocations: 1.625 kB / 479.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.4068, allocations: 0.7306 MB / 480.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.4069, allocations: 105.3 kB / 480.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.407, allocations: 4.344 kB / 480.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.4072, allocations: 7.438 kB / 480.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.4072, allocations: 12.39 kB / 480.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.4072, allocations: 14.23 kB / 480.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002292/0.4075, allocations: 186.1 kB / 481 MB, free: 10.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4075, allocations: 0 / 481 MB, free: 10.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009546/0.4084, allocations: 192 kB / 481.2 MB, free: 10.38 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.002145/0.4106, allocations: 1.422 MB / 482.6 MB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009412/0.4115, allocations: 446.2 kB / 483 MB, free: 9.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4115, allocations: 0 / 483 MB, free: 9.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005537/0.4121, allocations: 236.4 kB / 483.3 MB, free: 8.984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.4131, allocations: 172.2 kB / 483.4 MB, free: 8.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004852/0.4179, allocations: 3.327 MB / 486.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.4184, allocations: 0.7756 MB / 487.5 MB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00027/0.4187, allocations: 47.22 kB / 487.6 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.4189, allocations: 106.8 kB / 487.7 MB, free: 5.586 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4189, allocations: 0 / 487.7 MB, free: 5.586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04673/0.4656, allocations: 13.49 MB / 0.4894 GB, free: 10.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.11, allocations: 16.3 kB / 0.4894 GB, free: 10.58 MB / 398.1 MB " [Timeout remaining time 647] (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.28690577717498]