Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001817/0.001817, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002011/0.002011, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.565e-05, allocations: 2.312 kB / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1848/0.1848, allocations: 66.75 MB / 339.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008855/0.1936, allocations: 5.527 MB / 344.6 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002956/0.1939, allocations: 11.94 kB / 344.6 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.195, allocations: 325.9 kB / 344.9 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.196, allocations: 0.5394 MB / 345.5 MB, free: 8.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02124/0.2173, allocations: 7.539 MB / 353 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002239/0.2195, allocations: 1.562 MB / 354.6 MB, free: 15 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.2198, allocations: 145.5 kB / 354.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.2213, allocations: 0.8494 MB / 355.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009142/0.2222, allocations: 0.5298 MB / 356.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.2224, allocations: 88 kB / 356.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02015/0.2426, allocations: 9.586 MB / 365.8 MB, free: 3.789 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005719/0.2431, allocations: 347.1 kB / 366.1 MB, free: 3.449 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006793/0.2438, allocations: 343.4 kB / 366.4 MB, free: 3.113 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01742/0.2612, allocations: 7.175 MB / 373.6 MB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2612, allocations: 0 / 373.6 MB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2612, allocations: 0 / 373.6 MB, free: 11.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.2612, allocations: 0 / 373.6 MB, free: 11.92 MB / 330.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.004042/0.2653, allocations: 1.68 MB / 375.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2653, allocations: 8.031 kB / 375.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005893/0.2659, allocations: 151.3 kB / 375.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007949/0.2667, allocations: 402.3 kB / 375.8 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.2668, allocations: 45.31 kB / 375.9 MB, free: 9.574 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.2669, allocations: 68 kB / 376 MB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.269, allocations: 0.9703 MB / 376.9 MB, free: 8.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.269, allocations: 4 kB / 376.9 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.996e-05/0.2691, allocations: 27.19 kB / 377 MB, free: 8.402 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.2691, allocations: 16 kB / 377 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.2709, allocations: 0.6648 MB / 377.6 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01497/0.2858, allocations: 4.104 MB / 381.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.2875, allocations: 0.5601 MB / 382.3 MB, free: 3.008 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/0.2881, allocations: 277.5 kB / 382.6 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/0.2999, allocations: 2.637 MB / 385.2 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.351e-05/0.3, allocations: 50.05 kB / 385.3 MB, free: 32 kB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.665e-06/0.3, allocations: 0 / 385.3 MB, free: 32 kB / 330.7 MB Notification: Performance of matching and sorting (n=88): time 0.009215/0.3092, allocations: 2.553 MB / 387.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.3093, allocations: 60.41 kB / 387.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004876/0.3098, allocations: 380.1 kB / 388.2 MB, free: 12.99 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.74e-05/0.3099, allocations: 41.7 kB / 388.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.3101, allocations: 303.8 kB / 388.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000378/0.3105, allocations: 345.2 kB / 388.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003413/0.3109, allocations: 196.2 kB / 389.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003574/0.3112, allocations: 0.5587 MB / 389.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005323/0.3117, allocations: 245.9 kB / 389.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009459/0.3127, allocations: 427.4 kB / 390.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.3146, allocations: 0.7294 MB / 391.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3146, allocations: 0 / 391.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002739/0.3174, allocations: 0.9832 MB / 392 MB, free: 9.043 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.3174, allocations: 4 kB / 392 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3174, allocations: 4 kB / 392 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008546/0.3183, allocations: 154.9 kB / 392.2 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008508/0.3191, allocations: 195.7 kB / 392.4 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004558/0.3237, allocations: 5.395 MB / 397.8 MB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.3241, allocations: 16 kB / 397.8 MB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.3243, allocations: 43.98 kB / 397.8 MB, free: 2.918 MB / 346.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.00042/0.3247, allocations: 244.3 kB / 398.1 MB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008031/0.3255, allocations: 158.9 kB / 398.2 MB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/0.3282, allocations: 1.21 MB / 399.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.3282, allocations: 11.94 kB / 399.5 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3282, allocations: 4 kB / 399.5 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001963/0.3302, allocations: 1.134 MB / 400.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003528/0.3337, allocations: 1.619 MB / 402.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.3337, allocations: 4 kB / 402.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007986/0.3345, allocations: 163.8 kB / 402.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001847/0.3363, allocations: 283 kB / 402.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-05/0.3364, allocations: 39.86 kB / 402.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.3378, allocations: 1.861 MB / 404.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3378, allocations: 3.938 kB / 404.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/0.3408, allocations: 1.28 MB / 405.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.341, allocations: 47.72 kB / 405.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.3411, allocations: 23.98 kB / 405.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005311/0.3416, allocations: 27.98 kB / 405.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.3417, allocations: 68.75 kB / 406 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.3418, allocations: 43.97 kB / 406 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003251/0.3422, allocations: 267 kB / 406.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3422, allocations: 0 / 406.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003955/0.3461, allocations: 1.423 MB / 407.7 MB, free: 8.684 MB / 362.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.005665/0.3518, allocations: 1.914 MB / 409.6 MB, free: 6.758 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002339/0.3541, allocations: 1.074 MB / 410.7 MB, free: 5.637 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/0.3541, allocations: 4 kB / 410.7 MB, free: 5.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009402/0.3551, allocations: 423.2 kB / 411.1 MB, free: 5.211 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.3569, allocations: 356.4 kB / 411.5 MB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.3601, allocations: 1.43 MB / 412.9 MB, free: 3.406 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.3604, allocations: 313.8 kB / 413.2 MB, free: 3.066 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006457/0.3611, allocations: 168.9 kB / 413.4 MB, free: 2.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.3613, allocations: 76.48 kB / 413.5 MB, free: 2.836 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3613, allocations: 0 / 413.5 MB, free: 2.836 MB / 362.7 MB Notification: Performance of Templates: time 0.1612/0.5225, allocations: 50.25 MB / 463.7 MB, free: 110 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.250853501958773]