Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001689/0.001689, allocations: 122.3 kB / 18.45 MB, free: 4.605 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.002028/0.002028, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.378/1.378, allocations: 207.6 MB / 231.8 MB, free: 4.09 MB / 174.1 MB " [Timeout remaining time 179] 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.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",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.001653/0.001653, allocations: 51.91 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08445/0.0861, allocations: 49.12 MB / 391.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03014/0.1162, allocations: 27.18 MB / 418.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005102/0.1213, allocations: 4.171 MB / 422.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.1215, allocations: 7.938 kB / 422.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.1221, allocations: 206.7 kB / 422.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006292/0.1227, allocations: 342.1 kB / 423.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.1265, allocations: 1.482 MB / 424.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.1276, allocations: 0.8795 MB / 425.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.1278, allocations: 84.67 kB / 425.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005941/0.1337, allocations: 4.076 MB / 429.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003808/0.1341, allocations: 290.8 kB / 430.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.11e-05/0.1342, allocations: 32 kB / 430.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.1356, allocations: 0.7298 MB / 430.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.1357, allocations: 99.67 kB / 430.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.1359, allocations: 199.2 kB / 431.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.1371, allocations: 0.8452 MB / 432 MB, free: 0 / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1371, allocations: 0 / 432 MB, free: 0 / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1371, allocations: 0 / 432 MB, free: 0 / 350.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.1371, allocations: 0 / 432 MB, free: 0 / 350.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.0009774/0.1381, allocations: 0.6658 MB / 432.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1381, allocations: 8.031 kB / 432.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.512e-05/0.1382, allocations: 66.72 kB / 432.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004203/0.1386, allocations: 56.73 kB / 432.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.1391, allocations: 291.9 kB / 433.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.1391, allocations: 20.94 kB / 433.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.1392, allocations: 28.38 kB / 433.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005134/0.1397, allocations: 346.3 kB / 433.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.1397, allocations: 0 / 433.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.1398, allocations: 12 kB / 433.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1398, allocations: 8 kB / 433.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003448/0.1401, allocations: 214 kB / 433.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.1533, allocations: 5.916 MB / 439.6 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.1536, allocations: 166.6 kB / 439.8 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.1537, allocations: 80.83 kB / 439.8 MB, free: 7.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01068/0.1644, allocations: 3.9 MB / 443.7 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.1644, allocations: 34.56 kB / 443.8 MB, free: 3.258 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.534e-06/0.1644, allocations: 0 / 443.8 MB, free: 3.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.006197/0.1706, allocations: 1.418 MB / 445.2 MB, free: 1.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.1707, allocations: 55.41 kB / 445.2 MB, free: 1.695 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.171, allocations: 262.6 kB / 445.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.171, allocations: 29.7 kB / 445.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.1711, allocations: 200.4 kB / 445.7 MB, free: 1.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.31e-05/0.1712, allocations: 91.22 kB / 445.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.94e-05/0.1713, allocations: 69.64 kB / 445.9 MB, free: 1.023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1715, allocations: 338.8 kB / 446.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.1716, allocations: 87.75 kB / 446.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.1719, allocations: 194.8 kB / 446.5 MB, free: 376 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.1723, allocations: 299 kB / 446.8 MB, free: 36 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1723, allocations: 4 kB / 446.8 MB, free: 32 kB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007105/0.173, allocations: 394.8 kB / 447.2 MB, free: 15.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.173, allocations: 4 kB / 447.2 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.173, allocations: 4.375 kB / 447.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004087/0.1771, allocations: 0.9338 MB / 448.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.1774, allocations: 75.89 kB / 448.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.1792, allocations: 1.97 MB / 450.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.1794, allocations: 8 kB / 450.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.1794, allocations: 20 kB / 450.2 MB, free: 12.45 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.000188/0.1796, allocations: 157.8 kB / 450.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.1797, allocations: 31.81 kB / 450.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007584/0.1804, allocations: 495.1 kB / 450.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1804, allocations: 0 / 450.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1804, allocations: 7.938 kB / 450.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007227/0.1812, allocations: 0.7089 MB / 451.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.1825, allocations: 0.9574 MB / 452.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1825, allocations: 0 / 452.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.1827, allocations: 43.92 kB / 452.6 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/0.1844, allocations: 316.4 kB / 452.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.1845, allocations: 8 kB / 452.9 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005798/0.185, allocations: 0.6498 MB / 453.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.185, allocations: 0 / 453.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.1861, allocations: 0.7215 MB / 454.2 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.1862, allocations: 104.9 kB / 454.4 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.1862, allocations: 8 kB / 454.4 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.1864, allocations: 4 kB / 454.4 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.1865, allocations: 19.97 kB / 454.4 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.1865, allocations: 11.94 kB / 454.4 MB, free: 7.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002077/0.1867, allocations: 190 kB / 454.6 MB, free: 7.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1867, allocations: 0 / 454.6 MB, free: 7.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006836/0.1874, allocations: 183.7 kB / 454.8 MB, free: 7.621 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.001775/0.1891, allocations: 1.421 MB / 456.2 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008357/0.19, allocations: 451.2 kB / 456.6 MB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.19, allocations: 0 / 456.6 MB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005505/0.1905, allocations: 220.5 kB / 456.8 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009209/0.1915, allocations: 172.1 kB / 457 MB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00447/0.1959, allocations: 3.34 MB / 460.3 MB, free: 1.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.1964, allocations: 0.776 MB / 461.1 MB, free: 1.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002185/0.1966, allocations: 54.94 kB / 461.2 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.1967, allocations: 99.41 kB / 461.3 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1967, allocations: 0 / 461.3 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1878/0.3845, allocations: 13.49 MB / 474.8 MB, free: 65.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.4, allocations: 13.22 kB / 474.8 MB, free: 65.84 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 15.890837799757719]