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.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.001243/0.001243, allocations: 122.2 kB / 18.45 MB, free: 4.477 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.001244/0.001244, allocations: 190.9 kB / 21.39 MB, free: 1.543 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.414/1.414, allocations: 207.6 MB / 231.8 MB, free: 4.016 MB / 174.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.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.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 55.92 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09706/0.09875, allocations: 49.12 MB / 391.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04098/0.1397, allocations: 37.63 MB / 429 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006945/0.1467, allocations: 4.595 MB / 433.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006221/0.1473, allocations: 4 kB / 433.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.1484, allocations: 298.1 kB / 433.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.1496, allocations: 489.3 kB / 434.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004946/0.1545, allocations: 1.645 MB / 436 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.1565, allocations: 1.269 MB / 437.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003708/0.1569, allocations: 130.6 kB / 437.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.158, allocations: 486.4 kB / 437.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005821/0.1586, allocations: 422.4 kB / 438.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.329e-05/0.1586, allocations: 44 kB / 438.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.1603, allocations: 0.7765 MB / 439.1 MB, free: 8.793 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.1605, allocations: 135.5 kB / 439.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003027/0.1608, allocations: 275 kB / 439.5 MB, free: 8.391 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.1622, allocations: 1.063 MB / 440.6 MB, free: 7.324 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1622, allocations: 0 / 440.6 MB, free: 7.324 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1622, allocations: 0 / 440.6 MB, free: 7.324 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1622, allocations: 3.938 kB / 440.6 MB, free: 7.32 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001235/0.1635, allocations: 0.7867 MB / 441.4 MB, free: 6.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.1635, allocations: 11.89 kB / 441.4 MB, free: 6.469 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.356e-05/0.1636, allocations: 82.72 kB / 441.5 MB, free: 6.379 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005677/0.1642, allocations: 80.62 kB / 441.6 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005748/0.1648, allocations: 343.5 kB / 441.9 MB, free: 5.926 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.1648, allocations: 33.38 kB / 441.9 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-05/0.1649, allocations: 48.33 kB / 442 MB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000698/0.1656, allocations: 475.4 kB / 442.4 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.1656, allocations: 0 / 442.4 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.1656, allocations: 16 kB / 442.5 MB, free: 5.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.1656, allocations: 12 kB / 442.5 MB, free: 5.309 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/0.1661, allocations: 299.7 kB / 442.8 MB, free: 5.016 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01418/0.1803, allocations: 6.731 MB / 449.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.1808, allocations: 262.3 kB / 449.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.181, allocations: 137.4 kB / 449.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01085/0.1919, allocations: 3.896 MB / 453.8 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.1919, allocations: 34.56 kB / 453.8 MB, free: 9.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.795e-06/0.1919, allocations: 0 / 453.8 MB, free: 9.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01217/0.2041, allocations: 2.466 MB / 456.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.2041, allocations: 59.39 kB / 456.3 MB, free: 6.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.2045, allocations: 303.2 kB / 456.6 MB, free: 6.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.2046, allocations: 33.7 kB / 456.7 MB, free: 6.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.2047, allocations: 232.5 kB / 456.9 MB, free: 5.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.2049, allocations: 170.6 kB / 457.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.205, allocations: 98.19 kB / 457.2 MB, free: 5.598 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.2052, allocations: 350.8 kB / 457.5 MB, free: 5.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.2055, allocations: 149.1 kB / 457.6 MB, free: 5.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.2058, allocations: 275.7 kB / 457.9 MB, free: 4.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006988/0.2065, allocations: 472.3 kB / 458.4 MB, free: 4.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2065, allocations: 0 / 458.4 MB, free: 4.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001157/0.2077, allocations: 0.5956 MB / 459 MB, free: 3.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.2077, allocations: 7.906 kB / 459 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2077, allocations: 4 kB / 459 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008002/0.2157, allocations: 1.852 MB / 460.8 MB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/0.2162, allocations: 111.8 kB / 460.9 MB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1748/0.3909, allocations: 2.55 MB / 463.5 MB, free: 69.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.3913, allocations: 14.56 kB / 463.5 MB, free: 69.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.3914, allocations: 21.72 kB / 463.5 MB, free: 69.47 MB / 382.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.000265/0.3916, allocations: 181.5 kB / 463.7 MB, free: 69.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3917, allocations: 42.31 kB / 463.7 MB, free: 69.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.3932, allocations: 0.8481 MB / 464.6 MB, free: 69.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.3932, allocations: 8.797 kB / 464.6 MB, free: 69.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3932, allocations: 0.5312 kB / 464.6 MB, free: 69.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/0.3942, allocations: 0.9568 MB / 465.6 MB, free: 68.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.3961, allocations: 1.485 MB / 467 MB, free: 68.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3961, allocations: 1.156 kB / 467 MB, free: 68.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.3964, allocations: 72.55 kB / 467.1 MB, free: 68.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003273/0.3997, allocations: 0.6248 MB / 467.7 MB, free: 68.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/0.3997, allocations: 15.69 kB / 467.8 MB, free: 68.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007443/0.4005, allocations: 1.285 MB / 469 MB, free: 66.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4005, allocations: 1.062 kB / 469 MB, free: 66.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.4018, allocations: 1.222 MB / 470.3 MB, free: 66.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.402, allocations: 124.4 kB / 470.4 MB, free: 66.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.402, allocations: 7.422 kB / 470.4 MB, free: 66.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.4023, allocations: 10.81 kB / 470.4 MB, free: 66.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.4024, allocations: 29.25 kB / 470.4 MB, free: 66.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.4024, allocations: 23.86 kB / 470.5 MB, free: 66.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002445/0.4027, allocations: 211 kB / 470.7 MB, free: 66.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4027, allocations: 0 / 470.7 MB, free: 66.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008623/0.4035, allocations: 234.2 kB / 470.9 MB, free: 66.1 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.002137/0.4057, allocations: 1.936 MB / 472.8 MB, free: 64.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.4069, allocations: 0.6723 MB / 473.5 MB, free: 64.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4069, allocations: 0 / 473.5 MB, free: 64.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009288/0.4079, allocations: 421.4 kB / 473.9 MB, free: 64.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.409, allocations: 235.3 kB / 474.1 MB, free: 64.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005237/0.4143, allocations: 4.496 MB / 478.6 MB, free: 61.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.4146, allocations: 0.8395 MB / 479.5 MB, free: 60.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003339/0.4149, allocations: 70.17 kB / 479.5 MB, free: 60.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.4151, allocations: 159.6 kB / 479.7 MB, free: 60.81 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4151, allocations: 0 / 479.7 MB, free: 60.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04288/0.458, allocations: 17.45 MB / 497.2 MB, free: 46.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.59, allocations: 15.72 kB / 497.2 MB, free: 46.29 MB / 382.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.88611966697499]