Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.000804/0.000804, allocations: 83.64 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003439/0.003439, allocations: 162.5 kB / 24.69 MB, free: 9.441 MB / 18.57 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 0.8152/0.8152, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 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.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 298.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.92e-05, allocations: 2.281 kB / 298.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1563/0.1563, allocations: 58.84 MB / 357.3 MB, free: 3.883 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004998/0.1613, allocations: 4.959 MB / 362.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/0.1617, allocations: 11.88 kB / 362.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008241/0.1625, allocations: 333.9 kB / 362.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008385/0.1633, allocations: 0.5394 MB / 363.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01681/0.1802, allocations: 7.212 MB / 370.3 MB, free: 6.797 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001981/0.1821, allocations: 1.566 MB / 371.9 MB, free: 5.227 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003326/0.1825, allocations: 138.8 kB / 372.1 MB, free: 5.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.1838, allocations: 0.8533 MB / 372.9 MB, free: 4.234 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006247/0.1844, allocations: 0.5298 MB / 373.4 MB, free: 3.703 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.1845, allocations: 88 kB / 373.5 MB, free: 3.617 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01291/0.1974, allocations: 9.437 MB / 383 MB, free: 10.17 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003787/0.1978, allocations: 347.2 kB / 383.3 MB, free: 9.828 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004419/0.1982, allocations: 335.4 kB / 383.6 MB, free: 9.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.2108, allocations: 7.105 MB / 390.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2108, allocations: 0 / 390.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2108, allocations: 0 / 390.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.11e-05/0.2108, allocations: 0 / 390.7 MB, free: 2.379 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002839/0.2137, allocations: 1.514 MB / 392.2 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2137, allocations: 11.98 kB / 392.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.2138, allocations: 110.5 kB / 392.4 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002826/0.2141, allocations: 97.41 kB / 392.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.2146, allocations: 375.8 kB / 392.8 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.2146, allocations: 45.31 kB / 392.9 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/0.2147, allocations: 63.95 kB / 392.9 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.216, allocations: 1.22 MB / 394.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.216, allocations: 0 / 394.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.2161, allocations: 32 kB / 394.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.2161, allocations: 16 kB / 394.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.2172, allocations: 1.02 MB / 395.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007299/0.2245, allocations: 4.163 MB / 399.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.2257, allocations: 0.7068 MB / 400.1 MB, free: 8.781 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/0.2261, allocations: 383.4 kB / 400.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00526/0.2314, allocations: 2.62 MB / 403.1 MB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.2314, allocations: 51.14 kB / 403.1 MB, free: 5.727 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.745e-06/0.2314, allocations: 0 / 403.1 MB, free: 5.727 MB / 362.7 MB Notification: Performance of matching and sorting (n=88): time 0.005649/0.2371, allocations: 3.144 MB / 406.3 MB, free: 2.559 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.2371, allocations: 64.41 kB / 406.3 MB, free: 2.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.2374, allocations: 368.3 kB / 406.7 MB, free: 2.109 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.2375, allocations: 49.64 kB / 406.7 MB, free: 2.055 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.2376, allocations: 241.2 kB / 407 MB, free: 1.812 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.2377, allocations: 317.2 kB / 407.3 MB, free: 1.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.2379, allocations: 158.6 kB / 407.4 MB, free: 1.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.238, allocations: 362.8 kB / 407.8 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005157/0.2385, allocations: 377.7 kB / 408.2 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005551/0.2391, allocations: 492.2 kB / 408.7 MB, free: 96 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.2401, allocations: 0.8982 MB / 409.5 MB, free: 15.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2401, allocations: 0 / 409.5 MB, free: 15.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001544/0.2417, allocations: 1.117 MB / 410.7 MB, free: 14.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2417, allocations: 11.98 kB / 410.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.2417, allocations: 7.938 kB / 410.7 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004564/0.2422, allocations: 163.3 kB / 410.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.2426, allocations: 192 kB / 411 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.2447, allocations: 3.902 MB / 414.9 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.245, allocations: 24.12 kB / 415 MB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-05/0.2451, allocations: 43.98 kB / 415 MB, free: 9.406 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems 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,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002907/0.2453, allocations: 225.6 kB / 415.2 MB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/0.2456, allocations: 67.67 kB / 415.3 MB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.247, allocations: 1.277 MB / 416.6 MB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.247, allocations: 11.94 kB / 416.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.247, allocations: 4 kB / 416.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001119/0.2482, allocations: 1.316 MB / 417.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.2502, allocations: 1.796 MB / 419.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2502, allocations: 4 kB / 419.7 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.2506, allocations: 163.8 kB / 419.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008517/0.2514, allocations: 309.2 kB / 420.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.164e-05/0.2515, allocations: 27.98 kB / 420.2 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004873/0.2519, allocations: 1.289 MB / 421.5 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2519, allocations: 0 / 421.5 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.2537, allocations: 1.418 MB / 422.9 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.2538, allocations: 47.66 kB / 422.9 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.2538, allocations: 28 kB / 423 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.2541, allocations: 27.98 kB / 423 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.2541, allocations: 57.02 kB / 423 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.399e-05/0.2542, allocations: 47.97 kB / 423.1 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.2544, allocations: 283 kB / 423.4 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2544, allocations: 0 / 423.4 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003009/0.2574, allocations: 1.411 MB / 424.8 MB, free: 15.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00651/0.2639, allocations: 3.782 MB / 428.6 MB, free: 11.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.2657, allocations: 1.109 MB / 429.7 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.2657, allocations: 4 kB / 429.7 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005987/0.2663, allocations: 475.9 kB / 430.1 MB, free: 9.863 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.2674, allocations: 389 kB / 430.5 MB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008956/0.2764, allocations: 6.961 MB / 437.5 MB, free: 2.344 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.2766, allocations: 321.9 kB / 437.8 MB, free: 2.004 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005356/0.2771, allocations: 209.2 kB / 438 MB, free: 1.797 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.2774, allocations: 228.4 kB / 438.2 MB, free: 1.574 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2774, allocations: 0 / 438.2 MB, free: 1.574 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1951/0.4725, allocations: 60.78 MB / 499 MB, free: 118.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.388/9.86, allocations: 9.469 kB / 499 MB, free: 118.4 MB / 426.7 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 27.667098046280444]