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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 108 kB / 18.35 MB, free: 4.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 192.2 kB / 19.29 MB, free: 3.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.251/1.251, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 51.92 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06873/0.06991, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0294/0.09934, allocations: 26.59 MB / 355.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.1019, allocations: 2.22 MB / 357.5 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.1019, allocations: 0 / 357.5 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.1023, allocations: 67.61 kB / 357.6 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.1026, allocations: 159.1 kB / 357.8 MB, free: 6.598 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0126/0.1152, allocations: 6.158 MB / 363.9 MB, free: 428 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.1156, allocations: 306.6 kB / 364.2 MB, free: 120 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.1156, allocations: 13.11 kB / 364.2 MB, free: 104 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.1158, allocations: 143.6 kB / 364.4 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.116, allocations: 115.5 kB / 364.5 MB, free: 15.85 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.1161, allocations: 12 kB / 364.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01412/0.1302, allocations: 9.397 MB / 373.9 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.521e-05/0.1303, allocations: 59.86 kB / 374 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.1305, allocations: 99.58 kB / 374 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006549/0.137, allocations: 4.679 MB / 378.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.137, allocations: 0 / 378.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1371, allocations: 0 / 378.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1371, allocations: 0 / 378.7 MB, free: 1.582 MB / 318.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.002506/0.1396, allocations: 1.108 MB / 379.8 MB, free: 432 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1396, allocations: 8.031 kB / 379.8 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.1398, allocations: 24.5 kB / 379.9 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.14, allocations: 222.7 kB / 380.1 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.14, allocations: 12.33 kB / 380.1 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.1401, allocations: 20 kB / 380.1 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1204/0.2605, allocations: 284 kB / 380.4 MB, free: 53.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.2606, allocations: 0 / 380.4 MB, free: 53.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.2606, allocations: 4.781 kB / 380.4 MB, free: 53.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.2606, allocations: 10.27 kB / 380.4 MB, free: 53.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007815/0.2614, allocations: 315.4 kB / 380.7 MB, free: 53.16 MB / 318.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.001258/0.2627, allocations: 0.8233 MB / 381.5 MB, free: 52.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/0.2634, allocations: 249.1 kB / 381.8 MB, free: 52.63 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.2637, allocations: 136.7 kB / 381.9 MB, free: 52.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01229/0.276, allocations: 12.84 MB / 394.8 MB, free: 39.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.276, allocations: 41.41 kB / 394.8 MB, free: 39.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.913e-06/0.276, allocations: 0 / 394.8 MB, free: 39.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002684/0.2787, allocations: 0.6963 MB / 395.5 MB, free: 39.53 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.731e-05/0.2787, allocations: 81.11 kB / 395.6 MB, free: 39.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.953e-05/0.2788, allocations: 127.8 kB / 395.7 MB, free: 39.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.2789, allocations: 30.77 kB / 395.7 MB, free: 39.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.2789, allocations: 108 kB / 395.8 MB, free: 39.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.278e-05/0.279, allocations: 124.8 kB / 396 MB, free: 39.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.2791, allocations: 75.59 kB / 396 MB, free: 39.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.2792, allocations: 324.1 kB / 396.3 MB, free: 38.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.2795, allocations: 136.8 kB / 396.5 MB, free: 38.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/0.28, allocations: 210.8 kB / 396.7 MB, free: 38.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008761/0.2809, allocations: 358.9 kB / 397 MB, free: 38.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2809, allocations: 1.031 kB / 397 MB, free: 38.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001117/0.282, allocations: 421.9 kB / 397.4 MB, free: 38.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2821, allocations: 6.844 kB / 397.5 MB, free: 38.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2821, allocations: 5.078 kB / 397.5 MB, free: 38.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2821, allocations: 6.625 kB / 397.5 MB, free: 38.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.2826, allocations: 91.22 kB / 397.6 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.2826, allocations: 4.875 kB / 397.6 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.283, allocations: 33.75 kB / 397.6 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.283, allocations: 15.05 kB / 397.6 MB, free: 38.18 MB / 318.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.0001326/0.2832, allocations: 149.2 kB / 397.8 MB, free: 38.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.2834, allocations: 19.16 kB / 397.8 MB, free: 38.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.2839, allocations: 193.6 kB / 398 MB, free: 37.94 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.284, allocations: 1.359 kB / 398 MB, free: 37.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.284, allocations: 5.688 kB / 398 MB, free: 37.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.2841, allocations: 122.3 kB / 398.1 MB, free: 37.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.2841, allocations: 10.03 kB / 398.1 MB, free: 37.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.2845, allocations: 19.17 kB / 398.1 MB, free: 37.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.2845, allocations: 26.98 kB / 398.1 MB, free: 37.8 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001217/0.2857, allocations: 0.5362 MB / 398.7 MB, free: 37.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001419/0.2872, allocations: 0.7625 MB / 399.4 MB, free: 37.07 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004234/0.2876, allocations: 171.2 kB / 399.6 MB, free: 37 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.845e-05/0.2877, allocations: 95.42 kB / 399.7 MB, free: 36.93 MB / 318.1 MB Notification: Performance of Backend: time 3.81e-07/0.2877, allocations: 1.406 kB / 399.7 MB, free: 36.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005946/0.2936, allocations: 1.974 MB / 401.7 MB, free: 36.64 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007651/0.2944, allocations: 0.9186 MB / 402.6 MB, free: 35.88 MB / 318.1 MB Notification: Performance of Templates: time 0.03854/0.333, allocations: 41.36 MB / 444 MB, free: 15.17 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (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) 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) Reference file matches