Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.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.001755/0.001755, allocations: 108.4 kB / 21.93 MB, free: 5.219 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.001975/0.001975, allocations: 214 kB / 25.23 MB, free: 3.027 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.483/1.483, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") [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.00233/0.00233, allocations: 71.77 kB / 348.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3016, allocations: 49.15 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0318/0.3334, allocations: 23.99 MB / 421.6 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003236/0.3367, allocations: 2.005 MB / 423.6 MB, free: 7.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.3368, allocations: 1.094 kB / 423.6 MB, free: 7.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003951/0.3372, allocations: 51.73 kB / 423.6 MB, free: 7.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004588/0.3376, allocations: 151.6 kB / 423.8 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01863/0.3562, allocations: 6.167 MB / 430 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000534/0.3568, allocations: 314.9 kB / 430.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.878e-05/0.3568, allocations: 13.3 kB / 430.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.3571, allocations: 135.6 kB / 430.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.3573, allocations: 127.5 kB / 430.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.3574, allocations: 12 kB / 430.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01844/0.3758, allocations: 8.839 MB / 439.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.376, allocations: 67.84 kB / 439.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.3761, allocations: 87.66 kB / 439.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01288/0.389, allocations: 4.63 MB / 444.2 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.389, allocations: 0 / 444.2 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.389, allocations: 0 / 444.2 MB, free: 4.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.389, allocations: 0 / 444.2 MB, free: 4.555 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003552/0.3926, allocations: 1.059 MB / 445.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3926, allocations: 11.98 kB / 445.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.3928, allocations: 24.59 kB / 445.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.3931, allocations: 161 kB / 445.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3931, allocations: 20.33 kB / 445.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.3932, allocations: 12 kB / 445.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007834/0.3939, allocations: 388.3 kB / 445.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.394, allocations: 4 kB / 445.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.394, allocations: 7.938 kB / 445.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.394, allocations: 11.98 kB / 445.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008289/0.3948, allocations: 311.7 kB / 446.2 MB, free: 2.465 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.3963, allocations: 0.6551 MB / 446.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.397, allocations: 249.1 kB / 447.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.3973, allocations: 129.6 kB / 447.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01132/0.4086, allocations: 2.694 MB / 449.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.4087, allocations: 38.55 kB / 449.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.265e-06/0.4087, allocations: 0 / 449.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002959/0.4117, allocations: 0.6959 MB / 450.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.4117, allocations: 85.09 kB / 450.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.4118, allocations: 125.8 kB / 450.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.4119, allocations: 29.7 kB / 450.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.412, allocations: 112.9 kB / 451 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.4121, allocations: 126.9 kB / 451.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.4122, allocations: 73.64 kB / 451.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4123, allocations: 330.8 kB / 451.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003954/0.4127, allocations: 131.9 kB / 451.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005004/0.4132, allocations: 207.6 kB / 451.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009781/0.4142, allocations: 363.9 kB / 452.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4142, allocations: 4 kB / 452.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001199/0.4154, allocations: 425.4 kB / 452.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.4154, allocations: 8 kB / 452.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4155, allocations: 7.938 kB / 452.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.4155, allocations: 0 / 452.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.416, allocations: 91.88 kB / 452.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.416, allocations: 4 kB / 452.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.4163, allocations: 31.84 kB / 452.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.4163, allocations: 16 kB / 452.7 MB, free: 11.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000171/0.4165, allocations: 145.8 kB / 452.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.4166, allocations: 19.91 kB / 452.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005101/0.4172, allocations: 190.3 kB / 453.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.4172, allocations: 8 kB / 453.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4172, allocations: 3.938 kB / 453.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.4172, allocations: 3.984 kB / 453.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.4189, allocations: 0.6697 MB / 453.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4189, allocations: 0 / 453.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.4193, allocations: 79.83 kB / 453.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.4193, allocations: 0 / 453.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.4194, allocations: 15.98 kB / 453.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.4194, allocations: 4 kB / 453.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4194, allocations: 4 kB / 453.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.421, allocations: 0.7148 MB / 454.6 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.4211, allocations: 43.92 kB / 454.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.4212, allocations: 12 kB / 454.6 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.4215, allocations: 23.97 kB / 454.7 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.4216, allocations: 31.89 kB / 454.7 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/0.4216, allocations: 11.94 kB / 454.7 MB, free: 9.617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.648e-05/0.4217, allocations: 99.27 kB / 454.8 MB, free: 9.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4217, allocations: 0 / 454.8 MB, free: 9.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003036/0.4247, allocations: 0.9394 MB / 455.7 MB, free: 8.578 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004494/0.4292, allocations: 1.275 MB / 457 MB, free: 7.289 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.4304, allocations: 331.5 kB / 457.3 MB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4304, allocations: 0 / 457.3 MB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004802/0.4309, allocations: 172.5 kB / 457.5 MB, free: 6.797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/0.4316, allocations: 103.8 kB / 457.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.4331, allocations: 0.6347 MB / 458.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.4332, allocations: 120.7 kB / 458.4 MB, free: 5.871 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.4334, allocations: 51.41 kB / 458.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4334, allocations: 0 / 458.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of Templates: time 0.03452/0.4679, allocations: 21.06 MB / 479.5 MB, free: 0.7227 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.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: 10.10212219459936]