Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001571/0.001571, allocations: 104.9 kB / 16.62 MB, free: 6.809 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.001817/0.001817, allocations: 193.9 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 241.2 MB, free: 13.7 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000968/0.000968, allocations: 48.92 kB / 300.1 MB, free: 5.977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07867/0.07965, allocations: 49.45 MB / 349.6 MB, free: 4.523 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2806/0.3603, allocations: 149.7 MB / 499.3 MB, free: 15.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3615, allocations: 0.6989 MB / 500 MB, free: 14.55 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.789e-05/0.3616, allocations: 3.938 kB / 0.4883 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.3621, allocations: 75.62 kB / 0.4884 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005364/0.3626, allocations: 280.6 kB / 0.4886 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.3651, allocations: 1.015 MB / 0.4896 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004513/0.3696, allocations: 5.612 MB / 0.4951 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003002/0.3699, allocations: 268.4 kB / 0.4954 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/0.3726, allocations: 2.248 MB / 0.4975 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.3751, allocations: 2.08 MB / 0.4996 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004794/0.3756, allocations: 239.9 kB / 0.4998 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.3785, allocations: 1.739 MB / 0.5015 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.3796, allocations: 1.224 MB / 0.5027 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001922/0.3816, allocations: 1.568 MB / 0.5042 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004418/0.386, allocations: 4.527 MB / 0.5087 GB, free: 9.621 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.225e-05/0.386, allocations: 0 / 0.5087 GB, free: 9.621 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.386, allocations: 3.938 kB / 0.5087 GB, free: 9.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.813e-05/0.3861, allocations: 0 / 0.5087 GB, free: 9.617 MB / 430.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.008823/0.3949, allocations: 3.486 MB / 0.5121 GB, free: 6.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3949, allocations: 16.02 kB / 0.5121 GB, free: 6.059 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/0.3968, allocations: 322.5 kB / 0.5124 GB, free: 5.742 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.3991, allocations: 1.327 MB / 0.5137 GB, free: 4.367 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.3992, allocations: 184.9 kB / 0.5139 GB, free: 4.184 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003893/0.3996, allocations: 239.9 kB / 0.5141 GB, free: 3.949 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00622/0.4059, allocations: 3.823 MB / 0.5178 GB, free: 80 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.27e-05/0.4059, allocations: 0 / 0.5178 GB, free: 80 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000375/0.4063, allocations: 108.1 kB / 0.5179 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/0.4063, allocations: 60 kB / 0.518 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008409/0.4148, allocations: 5.986 MB / 0.5238 GB, free: 9.906 MB / 446.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.1625/0.5772, allocations: 11.17 MB / 0.5347 GB, free: 160.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006625/0.5839, allocations: 5.04 MB / 0.5397 GB, free: 158.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003267/0.5872, allocations: 2.4 MB / 0.542 GB, free: 158.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004821/0.5877, allocations: 437.8 kB / 0.5424 GB, free: 157.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.533e-05/0.5878, allocations: 100.1 kB / 0.5425 GB, free: 157.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 5.51e-06/0.5878, allocations: 0 / 0.5425 GB, free: 157.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.009129/0.5969, allocations: 5.811 MB / 0.5482 GB, free: 156 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.597, allocations: 98.06 kB / 0.5483 GB, free: 156 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009674/0.598, allocations: 0.8695 MB / 0.5491 GB, free: 155.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003799/0.5983, allocations: 100.6 kB / 0.5492 GB, free: 155.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.5986, allocations: 0.5226 MB / 0.5497 GB, free: 155.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006904/0.5993, allocations: 1.3 MB / 0.551 GB, free: 154.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007529/0.6, allocations: 0.6267 MB / 0.5516 GB, free: 153.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.6001, allocations: 363.7 kB / 0.552 GB, free: 153.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/0.6023, allocations: 1.742 MB / 0.5537 GB, free: 152.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/0.6046, allocations: 2.268 MB / 0.5559 GB, free: 151.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004739/0.6094, allocations: 4.329 MB / 0.5601 GB, free: 149.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.6094, allocations: 0 / 0.5601 GB, free: 149.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005923/0.6153, allocations: 4.591 MB / 0.5646 GB, free: 145.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.6154, allocations: 11.94 kB / 0.5646 GB, free: 145.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.6154, allocations: 12 kB / 0.5646 GB, free: 145.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/0.6154, allocations: 29.08 kB / 0.5646 GB, free: 145.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003427/0.6189, allocations: 0.7886 MB / 0.5654 GB, free: 144.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.924e-05/0.6189, allocations: 35.88 kB / 0.5654 GB, free: 144.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.6213, allocations: 421.8 kB / 0.5659 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002434/0.6215, allocations: 144 kB / 0.566 GB, free: 144.4 MB / 446.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.001137/0.6227, allocations: 0.7583 MB / 0.5667 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004849/0.6232, allocations: 220.2 kB / 0.5669 GB, free: 143.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007218/0.6304, allocations: 5.169 MB / 0.572 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.6304, allocations: 40 kB / 0.572 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.6304, allocations: 2.375 kB / 0.572 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.034e-05/0.6305, allocations: 23.34 kB / 0.572 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/0.6341, allocations: 2.82 MB / 0.5748 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.6342, allocations: 0 / 0.5748 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00331/0.6375, allocations: 0.727 MB / 0.5755 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.677e-05/0.6375, allocations: 19.94 kB / 0.5755 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/0.6377, allocations: 91.97 kB / 0.5756 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.6377, allocations: 15.94 kB / 0.5756 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6377, allocations: 0 / 0.5756 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008222/0.646, allocations: 7.214 MB / 0.5827 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/0.6463, allocations: 321.9 kB / 0.583 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003448/0.6467, allocations: 83.83 kB / 0.5831 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002884/0.6496, allocations: 291.5 kB / 0.5833 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005078/0.6501, allocations: 314.9 kB / 0.5836 GB, free: 126.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000309/0.6504, allocations: 175.9 kB / 0.5838 GB, free: 126.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006233/0.651, allocations: 0.6824 MB / 0.5845 GB, free: 125.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.651, allocations: 0.6562 kB / 0.5845 GB, free: 125.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001877/0.6529, allocations: 1.087 MB / 0.5855 GB, free: 124.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (x,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]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * 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.000986/0.6539, allocations: 453.7 kB / 0.586 GB, free: 123.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0232/0.6771, allocations: 15.27 MB / 0.6009 GB, free: 108.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.6772, allocations: 6.625 kB / 0.6009 GB, free: 108.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002518/0.6797, allocations: 2.259 MB / 0.6031 GB, free: 106.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004954/0.6847, allocations: 1.254 MB / 0.6043 GB, free: 105.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.6947, allocations: 7.655 MB / 0.6118 GB, free: 97.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009171/0.6957, allocations: 1.848 MB / 0.6136 GB, free: 95.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004736/0.7004, allocations: 1.752 MB / 0.6153 GB, free: 93.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/0.7015, allocations: 299.3 kB / 0.6156 GB, free: 93.55 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.7015, allocations: 0 / 0.6156 GB, free: 93.55 MB / 446.1 MB Notification: Performance of Templates: time 0.06947/0.7709, allocations: 62.96 MB / 0.6771 GB, free: 31 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches