Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001144/0.001144, allocations: 117.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 57.92 kB / 306.4 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08184/0.08306, allocations: 50.54 MB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2841/0.3672, allocations: 152.6 MB / 0.4977 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.3684, allocations: 0.7205 MB / 0.4984 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.864e-05/0.3684, allocations: 0 / 0.4984 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.3688, allocations: 78.75 kB / 0.4984 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005094/0.3693, allocations: 270.9 kB / 0.4987 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.3718, allocations: 1.017 MB / 0.4997 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004626/0.3764, allocations: 5.616 MB / 0.5052 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002968/0.3767, allocations: 252.5 kB / 0.5054 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002812/0.3796, allocations: 2.26 MB / 0.5076 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002556/0.3821, allocations: 2.08 MB / 0.5096 GB, free: 6.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005082/0.3827, allocations: 240 kB / 0.5099 GB, free: 6.543 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003132/0.3858, allocations: 1.778 MB / 0.5116 GB, free: 4.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.387, allocations: 1.216 MB / 0.5128 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001958/0.389, allocations: 1.565 MB / 0.5143 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004883/0.3939, allocations: 4.558 MB / 0.5188 GB, free: 13.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3939, allocations: 0 / 0.5188 GB, free: 13.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3939, allocations: 0 / 0.5188 GB, free: 13.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.289e-05/0.394, allocations: 0 / 0.5188 GB, free: 13.4 MB / 446.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.008931/0.4029, allocations: 3.502 MB / 0.5222 GB, free: 9.844 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.4029, allocations: 8.031 kB / 0.5222 GB, free: 9.836 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/0.4048, allocations: 334.5 kB / 0.5225 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.4072, allocations: 1.327 MB / 0.5238 GB, free: 8.133 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.4073, allocations: 176.9 kB / 0.524 GB, free: 7.957 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003957/0.4077, allocations: 247.9 kB / 0.5242 GB, free: 7.715 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006271/0.414, allocations: 3.819 MB / 0.528 GB, free: 3.848 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.409e-05/0.4141, allocations: 0 / 0.528 GB, free: 3.848 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003649/0.4144, allocations: 116 kB / 0.5281 GB, free: 3.734 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.063e-05/0.4145, allocations: 56 kB / 0.5281 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1493/0.5638, allocations: 5.983 MB / 0.534 GB, free: 158.4 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.01856/0.5824, allocations: 11.18 MB / 0.5449 GB, free: 152.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006157/0.5885, allocations: 5.033 MB / 0.5498 GB, free: 150.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003233/0.5918, allocations: 2.406 MB / 0.5521 GB, free: 149 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005197/0.5923, allocations: 448.9 kB / 0.5526 GB, free: 148.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.484e-05/0.5924, allocations: 98.98 kB / 0.5527 GB, free: 148.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 5.671e-06/0.5925, allocations: 0 / 0.5527 GB, free: 148.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.007847/0.6003, allocations: 5.81 MB / 0.5583 GB, free: 145.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.6004, allocations: 93 kB / 0.5584 GB, free: 145.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008311/0.6012, allocations: 0.871 MB / 0.5593 GB, free: 145.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003425/0.6016, allocations: 101.7 kB / 0.5594 GB, free: 145.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.6018, allocations: 0.5185 MB / 0.5599 GB, free: 144.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006233/0.6024, allocations: 1.303 MB / 0.5612 GB, free: 143.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007504/0.6032, allocations: 0.6255 MB / 0.5618 GB, free: 142.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.699e-05/0.6032, allocations: 353.9 kB / 0.5621 GB, free: 142.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/0.6054, allocations: 1.748 MB / 0.5638 GB, free: 140.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00234/0.6077, allocations: 2.265 MB / 0.566 GB, free: 138.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00484/0.6126, allocations: 4.327 MB / 0.5702 GB, free: 133.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.6126, allocations: 7.938 kB / 0.5703 GB, free: 133.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005871/0.6185, allocations: 4.594 MB / 0.5747 GB, free: 129 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.6185, allocations: 8 kB / 0.5747 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.6185, allocations: 12 kB / 0.5748 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.084e-05/0.6186, allocations: 28 kB / 0.5748 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003398/0.622, allocations: 0.7881 MB / 0.5756 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.318e-05/0.622, allocations: 35.92 kB / 0.5756 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/0.6245, allocations: 420.5 kB / 0.576 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002675/0.6248, allocations: 151.9 kB / 0.5761 GB, free: 127.5 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.001315/0.6261, allocations: 0.7659 MB / 0.5769 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005909/0.6267, allocations: 209.8 kB / 0.5771 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007348/0.634, allocations: 5.175 MB / 0.5821 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.6341, allocations: 40 kB / 0.5822 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.6341, allocations: 0 / 0.5822 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.252e-05/0.6341, allocations: 19.92 kB / 0.5822 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/0.6382, allocations: 2.823 MB / 0.585 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.6382, allocations: 0 / 0.585 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003362/0.6416, allocations: 0.7333 MB / 0.5857 GB, free: 117.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.389e-05/0.6417, allocations: 16 kB / 0.5857 GB, free: 117.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002636/0.6419, allocations: 87.97 kB / 0.5858 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-05/0.642, allocations: 16 kB / 0.5858 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.642, allocations: 0 / 0.5858 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008552/0.6505, allocations: 7.222 MB / 0.5928 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005927/0.6512, allocations: 321.9 kB / 0.5931 GB, free: 109.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004141/0.6516, allocations: 83.83 kB / 0.5932 GB, free: 109.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002933/0.6545, allocations: 295.5 kB / 0.5935 GB, free: 109.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005161/0.655, allocations: 314.9 kB / 0.5938 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003239/0.6554, allocations: 175.9 kB / 0.594 GB, free: 109.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006554/0.656, allocations: 0.6824 MB / 0.5946 GB, free: 108.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.656, allocations: 0 / 0.5946 GB, free: 108.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001964/0.658, allocations: 1.095 MB / 0.5957 GB, free: 107.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.001002/0.659, allocations: 440.1 kB / 0.5961 GB, free: 106.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02313/0.6822, allocations: 15.28 MB / 0.6111 GB, free: 91.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.6822, allocations: 8.938 kB / 0.6111 GB, free: 91.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002494/0.6847, allocations: 2.267 MB / 0.6133 GB, free: 89.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004952/0.6897, allocations: 1.252 MB / 0.6145 GB, free: 88.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009848/0.6995, allocations: 7.641 MB / 0.622 GB, free: 80.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008831/0.7004, allocations: 1.849 MB / 0.6238 GB, free: 78.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004925/0.7054, allocations: 1.756 MB / 0.6255 GB, free: 76.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.7064, allocations: 295.3 kB / 0.6258 GB, free: 76.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.7064, allocations: 0 / 0.6258 GB, free: 76.57 MB / 446.1 MB Notification: Performance of Templates: time 0.07019/0.7766, allocations: 63.11 MB / 0.6874 GB, free: 13.72 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_trunk_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches