Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.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.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hx_h.1.|hx_h.2.|hx_h.3.|hx_h.4.|hx_h.5.|hx_h.6.|hx_h.7.|hx_h.8.|hx_h.9.|hx_h.10.|hx_h.11.|hx_h.12.|hx_h.13.|hx_h.14.|hx_h.15.|hx_h.16.|x",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hx_h.1.|hx_h.2.|hx_h.3.|hx_h.4.|hx_h.5.|hx_h.6.|hx_h.7.|hx_h.8.|hx_h.9.|hx_h.10.|hx_h.11.|hx_h.12.|hx_h.13.|hx_h.14.|hx_h.15.|hx_h.16.|x",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 114.1 kB / 18.41 MB, free: 4.52 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.001652/0.001652, allocations: 188.3 kB / 19.35 MB, free: 3.598 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.281/1.281, 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.001234/0.001234, allocations: 47.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0705/0.07174, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2971/0.3689, allocations: 153.1 MB / 0.5165 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.3704, allocations: 0.9644 MB / 0.5175 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.3706, allocations: 0 / 0.5175 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.371, allocations: 75.5 kB / 0.5176 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00061/0.3716, allocations: 298.6 kB / 0.5178 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003365/0.375, allocations: 1.312 MB / 0.5191 GB, free: 3.312 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004587/0.3796, allocations: 5.597 MB / 0.5246 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/0.3799, allocations: 259.8 kB / 0.5248 GB, free: 13.42 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003048/0.3829, allocations: 2.238 MB / 0.527 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003009/0.386, allocations: 1.967 MB / 0.5289 GB, free: 9.203 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008458/0.3868, allocations: 240 kB / 0.5292 GB, free: 8.969 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003775/0.3906, allocations: 1.934 MB / 0.5311 GB, free: 7.031 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001494/0.3921, allocations: 1.22 MB / 0.5323 GB, free: 5.809 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002267/0.3944, allocations: 1.557 MB / 0.5338 GB, free: 4.246 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004666/0.3991, allocations: 4.654 MB / 0.5383 GB, free: 15.58 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3991, allocations: 0 / 0.5383 GB, free: 15.58 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3991, allocations: 0 / 0.5383 GB, free: 15.58 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.437e-05/0.3991, allocations: 0 / 0.5383 GB, free: 15.58 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.008521/0.4077, allocations: 3.572 MB / 0.5418 GB, free: 11.94 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.4077, allocations: 8.031 kB / 0.5418 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.4095, allocations: 339.4 kB / 0.5421 GB, free: 11.6 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002383/0.4119, allocations: 1.344 MB / 0.5435 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.412, allocations: 176.9 kB / 0.5436 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003875/0.4124, allocations: 244 kB / 0.5439 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005751/0.4182, allocations: 3.827 MB / 0.5476 GB, free: 5.922 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.406e-05/0.4182, allocations: 4 kB / 0.5476 GB, free: 5.918 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000318/0.4186, allocations: 108 kB / 0.5477 GB, free: 5.812 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-05/0.4186, allocations: 60 kB / 0.5478 GB, free: 5.754 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1588/0.5774, allocations: 5.981 MB / 0.5536 GB, free: 164.9 MB / 478.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.01765/0.5951, allocations: 11.23 MB / 0.5646 GB, free: 159.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006285/0.6014, allocations: 5.038 MB / 0.5695 GB, free: 157.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002953/0.6044, allocations: 2.405 MB / 0.5718 GB, free: 157 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004542/0.6048, allocations: 441.3 kB / 0.5723 GB, free: 156.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.073e-05/0.6049, allocations: 99.88 kB / 0.5723 GB, free: 156.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 5.39e-06/0.6049, allocations: 0 / 0.5723 GB, free: 156.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.008446/0.6134, allocations: 5.826 MB / 0.578 GB, free: 154.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.6134, allocations: 91.34 kB / 0.5781 GB, free: 154.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008608/0.6143, allocations: 0.874 MB / 0.579 GB, free: 153.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002675/0.6146, allocations: 101.1 kB / 0.5791 GB, free: 153.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.6148, allocations: 0.5333 MB / 0.5796 GB, free: 153.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006199/0.6154, allocations: 1.366 MB / 0.5809 GB, free: 152 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007621/0.6162, allocations: 0.6313 MB / 0.5815 GB, free: 151.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.176e-05/0.6162, allocations: 356.7 kB / 0.5819 GB, free: 151.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/0.6185, allocations: 1.741 MB / 0.5836 GB, free: 150.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/0.6209, allocations: 2.26 MB / 0.5858 GB, free: 149.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004909/0.6258, allocations: 4.329 MB / 0.59 GB, free: 145.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.6258, allocations: 4 kB / 0.59 GB, free: 145.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005852/0.6317, allocations: 4.597 MB / 0.5945 GB, free: 140.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.6317, allocations: 15.94 kB / 0.5945 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.6318, allocations: 12 kB / 0.5945 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/0.6318, allocations: 24 kB / 0.5946 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003349/0.6351, allocations: 0.7961 MB / 0.5953 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.235e-05/0.6352, allocations: 31.94 kB / 0.5954 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.6372, allocations: 373.5 kB / 0.5957 GB, free: 139.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/0.6374, allocations: 143.9 kB / 0.5959 GB, free: 139.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[11],fog[10],fog[9],fog[8],fog[7],fog[6],fog[5],fog[4],fog[3],fog[2],fog[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * 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.0009108/0.6383, allocations: 0.7544 MB / 0.5966 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004428/0.6388, allocations: 226.7 kB / 0.5968 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007181/0.646, allocations: 5.168 MB / 0.6019 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.138e-05/0.646, allocations: 22.22 kB / 0.6019 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.646, allocations: 0.875 kB / 0.6019 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.6463, allocations: 330.9 kB / 0.6022 GB, free: 132.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/0.6466, allocations: 79.89 kB / 0.6023 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002366/0.649, allocations: 228.8 kB / 0.6025 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005289/0.6495, allocations: 314.9 kB / 0.6028 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006545/0.656, allocations: 4.603 MB / 0.6073 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008308/0.6644, allocations: 7.439 MB / 0.6146 GB, free: 120.1 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002244/0.6666, allocations: 2.133 MB / 0.6166 GB, free: 118 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006352/0.6673, allocations: 0.6746 MB / 0.6173 GB, free: 117.3 MB / 478.1 MB Notification: Performance of Backend: time 3.61e-07/0.6673, allocations: 4 kB / 0.6173 GB, free: 117.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004909/0.6722, allocations: 3.12 MB / 0.6203 GB, free: 114.2 MB / 478.1 MB Notification: Performance of SimCode: time 0.005365/0.6776, allocations: 5.285 MB / 0.6255 GB, free: 108.9 MB / 478.1 MB Notification: Performance of Templates: time 0.06503/0.7426, allocations: 62.32 MB / 0.6864 GB, free: 46.47 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches