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.001339/0.001339, allocations: 120.5 kB / 21.94 MB, free: 8 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.001569/0.001569, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.446/1.446, allocations: 207.6 MB / 236 MB, free: 9.996 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.002088/0.002088, allocations: 51.92 kB / 348.4 MB, free: 9.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3042, allocations: 49.16 MB / 397.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03397/0.3381, allocations: 26.84 MB / 424.4 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003205/0.3413, allocations: 2.248 MB / 426.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.3414, allocations: 1.188 kB / 426.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003945/0.3418, allocations: 64.42 kB / 426.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004385/0.3423, allocations: 155.5 kB / 426.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01883/0.3611, allocations: 6.212 MB / 433.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005887/0.3617, allocations: 319.8 kB / 433.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.3617, allocations: 9.297 kB / 433.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.362, allocations: 135.5 kB / 433.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.3622, allocations: 127.5 kB / 433.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.3623, allocations: 12 kB / 433.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01993/0.3822, allocations: 9.569 MB / 443.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.3823, allocations: 67.8 kB / 443.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.3825, allocations: 91.64 kB / 443.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01454/0.3971, allocations: 4.689 MB / 448.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.3971, allocations: 7.922 kB / 448.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3971, allocations: 0 / 448.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.3971, allocations: 0 / 448.1 MB, free: 0.793 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.004479/0.4016, allocations: 1.059 MB / 449.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.4016, allocations: 15.98 kB / 449.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.4019, allocations: 32.53 kB / 449.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.4022, allocations: 160.9 kB / 449.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4022, allocations: 12.33 kB / 449.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.4023, allocations: 12 kB / 449.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007912/0.403, allocations: 285.5 kB / 449.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.4031, allocations: 4 kB / 449.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.4031, allocations: 11.92 kB / 449.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.4031, allocations: 4 kB / 449.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008392/0.404, allocations: 323.6 kB / 450 MB, free: 14.82 MB / 366.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.001707/0.4057, allocations: 0.7846 MB / 450.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007427/0.4064, allocations: 241.2 kB / 451 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.4067, allocations: 133.6 kB / 451.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/0.4185, allocations: 2.69 MB / 453.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.4186, allocations: 42.5 kB / 453.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.825e-06/0.4186, allocations: 0 / 453.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002998/0.4216, allocations: 0.692 MB / 454.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/0.4217, allocations: 85.05 kB / 454.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.4218, allocations: 133.7 kB / 454.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.4219, allocations: 29.7 kB / 454.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.356e-05/0.422, allocations: 108.9 kB / 454.9 MB, free: 9.738 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.4221, allocations: 130.9 kB / 455.1 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.4222, allocations: 73.62 kB / 455.1 MB, free: 9.531 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4224, allocations: 334.8 kB / 455.5 MB, free: 9.195 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.4228, allocations: 131.9 kB / 455.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/0.4233, allocations: 203.6 kB / 455.8 MB, free: 8.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009303/0.4242, allocations: 351.5 kB / 456.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4242, allocations: 4 kB / 456.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001162/0.4254, allocations: 413.8 kB / 456.5 MB, free: 8.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4254, allocations: 12.22 kB / 456.6 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.4254, allocations: 4 kB / 456.6 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.4254, allocations: 0 / 456.6 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.4259, allocations: 99.8 kB / 456.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.4259, allocations: 7.938 kB / 456.7 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.4262, allocations: 31.81 kB / 456.7 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.4263, allocations: 23.97 kB / 456.7 MB, free: 7.879 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.0001782/0.4265, allocations: 141.8 kB / 456.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.4266, allocations: 19.89 kB / 456.9 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005008/0.4271, allocations: 186.4 kB / 457.1 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.4271, allocations: 15.92 kB / 457.1 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.4271, allocations: 0 / 457.1 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.4271, allocations: 0 / 457.1 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.429, allocations: 0.7432 MB / 457.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.429, allocations: 0 / 457.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.4294, allocations: 80.05 kB / 457.9 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.4294, allocations: 7.984 kB / 457.9 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.4295, allocations: 12 kB / 457.9 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4295, allocations: 0 / 457.9 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4295, allocations: 7.938 kB / 457.9 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.4311, allocations: 0.7146 MB / 458.6 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.4312, allocations: 43.89 kB / 458.7 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.4312, allocations: 4 kB / 458.7 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.4316, allocations: 23.97 kB / 458.7 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.4317, allocations: 31.83 kB / 458.7 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.4317, allocations: 20 kB / 458.8 MB, free: 5.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.631e-05/0.4318, allocations: 103.3 kB / 458.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4318, allocations: 0 / 458.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003543/0.4353, allocations: 0.9394 MB / 459.8 MB, free: 4.688 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.005459/0.4408, allocations: 1.267 MB / 461.1 MB, free: 3.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.4419, allocations: 332 kB / 461.4 MB, free: 3.082 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.4419, allocations: 0 / 461.4 MB, free: 3.082 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004977/0.4424, allocations: 175.6 kB / 461.6 MB, free: 2.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007731/0.4432, allocations: 96.14 kB / 461.7 MB, free: 2.816 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.4449, allocations: 0.627 MB / 462.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.4453, allocations: 0.741 MB / 463 MB, free: 1.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.4455, allocations: 51.41 kB / 463.1 MB, free: 1.316 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4455, allocations: 0 / 463.1 MB, free: 1.316 MB / 366.1 MB Notification: Performance of Templates: time 0.03824/0.4837, allocations: 20.97 MB / 484.1 MB, free: 12.3 MB / 398.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: 9.81363818491809]