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.001607/0.001607, allocations: 88.7 kB / 21.44 MB, free: 276 kB / 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.001793/0.001793, allocations: 164.4 kB / 24.71 MB, free: 3.527 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.366/1.366, allocations: 158.6 MB / 186.5 MB, free: 6.387 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.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: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.112e-05, allocations: 2.281 kB / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2109/0.2109, allocations: 58.83 MB / 357.8 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007531/0.2185, allocations: 4.966 MB / 362.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003795/0.2188, allocations: 18.12 kB / 362.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.2199, allocations: 336.7 kB / 363.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.2209, allocations: 0.5322 MB / 363.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01782/0.2387, allocations: 7.205 MB / 370.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002222/0.2409, allocations: 1.57 MB / 372.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003408/0.2413, allocations: 138.8 kB / 372.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.2428, allocations: 0.8572 MB / 373.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009827/0.2438, allocations: 0.522 MB / 373.9 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001885/0.244, allocations: 84 kB / 374 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0201/0.2641, allocations: 9.449 MB / 383.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005357/0.2646, allocations: 355.1 kB / 383.8 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006159/0.2652, allocations: 331.4 kB / 384.1 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01513/0.2803, allocations: 7.098 MB / 391.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2804, allocations: 0 / 391.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2804, allocations: 0 / 391.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.2804, allocations: 3.938 kB / 391.2 MB, free: 0.875 MB / 334.1 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.003801/0.2842, allocations: 1.518 MB / 392.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2842, allocations: 11.98 kB / 392.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005049/0.2847, allocations: 87.56 kB / 392.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007312/0.2854, allocations: 379.7 kB / 393.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.2855, allocations: 46 kB / 393.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.2856, allocations: 71.89 kB / 393.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.2878, allocations: 1.22 MB / 394.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.2878, allocations: 4.656 kB / 394.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.988e-05/0.2879, allocations: 28 kB / 394.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.2879, allocations: 16 kB / 394.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.29, allocations: 1.02 MB / 395.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/0.3046, allocations: 4.055 MB / 399.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.3065, allocations: 0.6994 MB / 400.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006432/0.3072, allocations: 398.9 kB / 400.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01163/0.3188, allocations: 2.627 MB / 403.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.483e-05/0.3189, allocations: 43.22 kB / 403.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 2.915e-06/0.3189, allocations: 0 / 403.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.01044/0.3293, allocations: 3.147 MB / 406.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.3294, allocations: 60.41 kB / 406.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/0.3298, allocations: 305.8 kB / 406.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.625e-05/0.3298, allocations: 41.7 kB / 407 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.33, allocations: 249 kB / 407.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/0.3303, allocations: 325.2 kB / 407.5 MB, free: 280 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/0.3306, allocations: 158.6 kB / 407.7 MB, free: 116 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.3308, allocations: 358.7 kB / 408 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006351/0.3314, allocations: 369.8 kB / 408.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.3324, allocations: 492.2 kB / 408.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.3344, allocations: 0.9059 MB / 409.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3344, allocations: 0 / 409.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002809/0.3372, allocations: 1.113 MB / 410.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3372, allocations: 8 kB / 410.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3372, allocations: 0 / 410.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008707/0.3381, allocations: 171.3 kB / 411.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000799/0.3389, allocations: 188 kB / 411.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003428/0.3423, allocations: 3.864 MB / 415.1 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.3427, allocations: 20 kB / 415.1 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.3429, allocations: 39.98 kB / 415.2 MB, free: 8.266 MB / 366.1 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.0004394/0.3433, allocations: 233.6 kB / 415.4 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004241/0.3437, allocations: 63.61 kB / 415.5 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.3464, allocations: 1.272 MB / 416.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.3464, allocations: 12.09 kB / 416.8 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.3464, allocations: 0 / 416.8 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002082/0.3485, allocations: 1.32 MB / 418.1 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003351/0.3519, allocations: 1.726 MB / 419.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3519, allocations: 3.938 kB / 419.8 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007509/0.3526, allocations: 159.8 kB / 420 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/0.3546, allocations: 301.3 kB / 420.3 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.799e-05/0.3546, allocations: 31.98 kB / 420.3 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.3557, allocations: 1.285 MB / 421.6 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3557, allocations: 4.031 kB / 421.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/0.3585, allocations: 1.41 MB / 423 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.3586, allocations: 51.7 kB / 423 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.751e-05/0.3587, allocations: 16 kB / 423.1 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/0.3593, allocations: 28.17 kB / 423.1 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.3594, allocations: 64.89 kB / 423.1 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.3595, allocations: 43.95 kB / 423.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002981/0.3598, allocations: 246.9 kB / 423.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3598, allocations: 0 / 423.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003709/0.3635, allocations: 1.403 MB / 424.8 MB, free: 14.31 MB / 382.1 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.005737/0.3692, allocations: 1.933 MB / 426.8 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002309/0.3716, allocations: 1.109 MB / 427.9 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.3716, allocations: 4 kB / 427.9 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009859/0.3725, allocations: 471.9 kB / 428.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.3744, allocations: 333.7 kB / 428.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.3773, allocations: 1.521 MB / 430.2 MB, free: 8.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.3776, allocations: 313.8 kB / 430.5 MB, free: 8.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000649/0.3783, allocations: 192.8 kB / 430.7 MB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.3785, allocations: 80.47 kB / 430.8 MB, free: 8.266 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3785, allocations: 0 / 430.8 MB, free: 8.266 MB / 382.1 MB Notification: Performance of Templates: time 0.07837/0.4569, allocations: 50.66 MB / 481.4 MB, free: 5.512 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] 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: 20.93201430886984]