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.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.001548/0.001548, allocations: 114.7 kB / 19.17 MB, free: 3.891 MB / 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.001683/0.001683, allocations: 203.8 kB / 22.11 MB, free: 0.9531 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.356/1.356, allocations: 207.6 MB / 232.5 MB, free: 3.953 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.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.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="cs",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.001855/0.001855, allocations: 51.92 kB / 343 MB, free: 9.98 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0876/0.08946, allocations: 49.13 MB / 392.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03158/0.121, allocations: 27.19 MB / 419.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005518/0.1266, allocations: 4.167 MB / 423.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003588/0.1269, allocations: 7.938 kB / 423.5 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007856/0.1277, allocations: 206.7 kB / 423.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008979/0.1286, allocations: 346.1 kB / 424 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004532/0.1331, allocations: 1.478 MB / 425.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.1344, allocations: 0.8834 MB / 426.4 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.1346, allocations: 80.69 kB / 426.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006757/0.1414, allocations: 4.088 MB / 430.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000584/0.142, allocations: 286.9 kB / 430.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.1421, allocations: 32 kB / 430.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.1437, allocations: 0.7259 MB / 431.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.1439, allocations: 95.73 kB / 431.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.1441, allocations: 199.2 kB / 431.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.1458, allocations: 0.8492 MB / 432.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1458, allocations: 0 / 432.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1458, allocations: 4 kB / 432.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.1459, allocations: 0 / 432.7 MB, free: 15.94 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.001378/0.1472, allocations: 0.6579 MB / 433.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1473, allocations: 12.03 kB / 433.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.011e-05/0.1473, allocations: 8.75 kB / 433.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.453e-05/0.1474, allocations: 62.73 kB / 433.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005338/0.1479, allocations: 60.72 kB / 433.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005469/0.1485, allocations: 295.8 kB / 433.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.1485, allocations: 16.94 kB / 433.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.248e-05/0.1486, allocations: 36.12 kB / 433.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000573/0.1491, allocations: 338.4 kB / 434.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1492, allocations: 0 / 434.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/0.1492, allocations: 15.94 kB / 434.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.1492, allocations: 8 kB / 434.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.1496, allocations: 210 kB / 434.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/0.1634, allocations: 5.916 MB / 440.4 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.1637, allocations: 170.6 kB / 440.5 MB, free: 7.516 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.1639, allocations: 84.83 kB / 440.6 MB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/0.1748, allocations: 3.896 MB / 444.5 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.1749, allocations: 34.56 kB / 444.5 MB, free: 3.191 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.024e-06/0.1749, allocations: 3.938 kB / 444.5 MB, free: 3.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.006298/0.1812, allocations: 1.414 MB / 445.9 MB, free: 1.695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.1812, allocations: 55.41 kB / 446 MB, free: 1.629 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.1815, allocations: 258.6 kB / 446.3 MB, free: 1.363 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.1816, allocations: 29.7 kB / 446.3 MB, free: 1.328 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.1817, allocations: 196.4 kB / 446.5 MB, free: 1.129 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.758e-05/0.1818, allocations: 95.22 kB / 446.6 MB, free: 1.035 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.1819, allocations: 73.64 kB / 446.6 MB, free: 0.957 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1821, allocations: 334.8 kB / 447 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.1822, allocations: 91.75 kB / 447.1 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.1825, allocations: 190.9 kB / 447.2 MB, free: 312 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004413/0.1829, allocations: 299 kB / 447.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.1829, allocations: 3.938 kB / 447.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007246/0.1836, allocations: 394.8 kB / 447.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1837, allocations: 8 kB / 447.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.1837, allocations: 4 kB / 447.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004131/0.1878, allocations: 0.9264 MB / 448.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.1881, allocations: 79.83 kB / 448.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.19, allocations: 1.966 MB / 450.9 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.1902, allocations: 8 kB / 450.9 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.1902, allocations: 16 kB / 450.9 MB, free: 12.39 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.0002123/0.1904, allocations: 161.8 kB / 451.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-05/0.1905, allocations: 31.81 kB / 451.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008039/0.1913, allocations: 491.1 kB / 451.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.1913, allocations: 7.938 kB / 451.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.1913, allocations: 0 / 451.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007708/0.1921, allocations: 0.7166 MB / 452.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.1935, allocations: 0.9496 MB / 453.3 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1936, allocations: 48 / 453.3 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.1938, allocations: 51.91 kB / 453.3 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/0.1955, allocations: 316.4 kB / 453.6 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.1955, allocations: 11.94 kB / 453.6 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000572/0.1961, allocations: 0.646 MB / 454.3 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1961, allocations: 4 kB / 454.3 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.1972, allocations: 0.7175 MB / 455 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.1973, allocations: 109 kB / 455.1 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.1973, allocations: 4 kB / 455.1 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.1975, allocations: 8 kB / 455.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.1976, allocations: 19.97 kB / 455.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.1976, allocations: 8 kB / 455.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.1978, allocations: 186 kB / 455.3 MB, free: 7.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1978, allocations: 0 / 455.3 MB, free: 7.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007152/0.1985, allocations: 187.7 kB / 455.5 MB, free: 7.555 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.001974/0.2005, allocations: 1.425 MB / 456.9 MB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008783/0.2013, allocations: 443.7 kB / 457.4 MB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2013, allocations: 0 / 457.4 MB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005385/0.2019, allocations: 220 kB / 457.6 MB, free: 5.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000958/0.2028, allocations: 176.1 kB / 457.8 MB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004584/0.2074, allocations: 3.332 MB / 461.1 MB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.2079, allocations: 0.7799 MB / 461.9 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.2081, allocations: 54.94 kB / 461.9 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.2082, allocations: 103.4 kB / 462 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2082, allocations: 0 / 462 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1934/0.4016, allocations: 13.53 MB / 475.6 MB, free: 65.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.47, allocations: 5.812 kB / 475.6 MB, free: 65.77 MB / 382.1 MB " [Timeout remaining time 647] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 17.28636509302305]