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.001507/0.001507, allocations: 101.5 kB / 17.16 MB, free: 6.316 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.00182/0.00182, allocations: 190 kB / 18.07 MB, free: 5.414 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.327/1.327, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001948/0.001948, allocations: 51.92 kB / 280 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08559/0.08756, allocations: 46.62 MB / 326.6 MB, free: 4.918 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2912/0.3788, allocations: 151 MB / 477.5 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.3806, allocations: 1.001 MB / 478.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.3808, allocations: 3.938 kB / 478.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.3811, allocations: 71.62 kB / 478.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006558/0.3818, allocations: 276.8 kB / 478.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.3852, allocations: 1.125 MB / 480 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006029/0.3912, allocations: 7.161 MB / 487.2 MB, free: 6.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.3916, allocations: 256.9 kB / 487.4 MB, free: 6.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003354/0.395, allocations: 1.901 MB / 489.3 MB, free: 4.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003192/0.3982, allocations: 1.955 MB / 491.3 MB, free: 2.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008075/0.399, allocations: 140 kB / 491.4 MB, free: 2.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004034/0.4031, allocations: 1.837 MB / 493.2 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001607/0.4047, allocations: 1.087 MB / 494.3 MB, free: 15.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002581/0.4073, allocations: 1.412 MB / 495.7 MB, free: 14.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005229/0.4125, allocations: 4.511 MB / 0.4885 GB, free: 9.824 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4125, allocations: 0 / 0.4885 GB, free: 9.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.4126, allocations: 4 kB / 0.4885 GB, free: 9.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.156e-05/0.4126, allocations: 0 / 0.4885 GB, free: 9.82 MB / 398.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.009404/0.422, allocations: 3.519 MB / 0.492 GB, free: 6.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.4221, allocations: 8.031 kB / 0.492 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/0.424, allocations: 324.1 kB / 0.4923 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/0.4265, allocations: 1.328 MB / 0.4936 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.4266, allocations: 176.9 kB / 0.4938 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003839/0.427, allocations: 244 kB / 0.494 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006682/0.4337, allocations: 3.819 MB / 0.4977 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.304e-05/0.4338, allocations: 4 kB / 0.4977 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004227/0.4342, allocations: 116 kB / 0.4978 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-05/0.4343, allocations: 63.94 kB / 0.4979 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009752/0.444, allocations: 5.986 MB / 0.5037 GB, free: 10.07 MB / 414.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.02022/0.4643, allocations: 11.17 MB / 0.5146 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007013/0.4713, allocations: 5.049 MB / 0.5196 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003371/0.4747, allocations: 2.404 MB / 0.5219 GB, free: 6.578 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005509/0.4753, allocations: 435.3 kB / 0.5223 GB, free: 6.082 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.008e-05/0.4754, allocations: 94.62 kB / 0.5224 GB, free: 5.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 5.17e-06/0.4754, allocations: 4 kB / 0.5224 GB, free: 5.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.009317/0.4847, allocations: 5.812 MB / 0.5281 GB, free: 144 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.4848, allocations: 90.47 kB / 0.5282 GB, free: 40 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.4859, allocations: 0.8752 MB / 0.529 GB, free: 15.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003372/0.4862, allocations: 97.7 kB / 0.5291 GB, free: 15.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.4865, allocations: 0.5266 MB / 0.5297 GB, free: 14.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001011/0.4876, allocations: 1.301 MB / 0.5309 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009036/0.4885, allocations: 0.6254 MB / 0.5315 GB, free: 12.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4886, allocations: 357.9 kB / 0.5319 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002686/0.4913, allocations: 1.74 MB / 0.5336 GB, free: 10.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003074/0.4944, allocations: 2.262 MB / 0.5358 GB, free: 8.055 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006168/0.5006, allocations: 4.329 MB / 0.54 GB, free: 3.551 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.5006, allocations: 8 kB / 0.54 GB, free: 3.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.1422/0.6428, allocations: 4.581 MB / 0.5445 GB, free: 175.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.6429, allocations: 16.09 kB / 0.5445 GB, free: 175.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.6429, allocations: 11 kB / 0.5445 GB, free: 175.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.322e-05/0.6429, allocations: 29.23 kB / 0.5445 GB, free: 175.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004103/0.6471, allocations: 0.7857 MB / 0.5453 GB, free: 175.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.716e-05/0.6471, allocations: 39.73 kB / 0.5454 GB, free: 175.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/0.6497, allocations: 420.5 kB / 0.5458 GB, free: 175.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003015/0.65, allocations: 144.7 kB / 0.5459 GB, free: 175.8 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.001572/0.6516, allocations: 0.7584 MB / 0.5466 GB, free: 175.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006175/0.6522, allocations: 211.6 kB / 0.5468 GB, free: 175.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009233/0.6614, allocations: 5.173 MB / 0.5519 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.132e-05/0.6615, allocations: 41.59 kB / 0.5519 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/0.6616, allocations: 6.375 kB / 0.5519 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.363e-05/0.6616, allocations: 23.2 kB / 0.552 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004572/0.6662, allocations: 2.819 MB / 0.5547 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.6662, allocations: 0 / 0.5547 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003479/0.6697, allocations: 0.7319 MB / 0.5554 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.312e-05/0.6698, allocations: 15.12 kB / 0.5554 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003222/0.6701, allocations: 93.67 kB / 0.5555 GB, free: 173.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.29e-05/0.6701, allocations: 15.62 kB / 0.5555 GB, free: 173.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6701, allocations: 10.81 kB / 0.5556 GB, free: 173.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009555/0.6797, allocations: 7.216 MB / 0.5626 GB, free: 170.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000655/0.6804, allocations: 326.1 kB / 0.5629 GB, free: 170.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004515/0.6809, allocations: 74.89 kB / 0.563 GB, free: 170.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003089/0.684, allocations: 296.5 kB / 0.5633 GB, free: 169.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005941/0.6846, allocations: 315.3 kB / 0.5636 GB, free: 169.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003649/0.6849, allocations: 181.4 kB / 0.5637 GB, free: 169.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006996/0.6856, allocations: 0.6837 MB / 0.5644 GB, free: 169.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6856, allocations: 0 / 0.5644 GB, free: 169.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002219/0.6879, allocations: 1.085 MB / 0.5655 GB, free: 168.7 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.001112/0.689, allocations: 480 kB / 0.5659 GB, free: 168.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005553/0.6946, allocations: 4.273 MB / 0.5701 GB, free: 164 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.6946, allocations: 5 kB / 0.5701 GB, free: 164 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002919/0.6975, allocations: 2.271 MB / 0.5723 GB, free: 161.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005529/0.7031, allocations: 1.23 MB / 0.5735 GB, free: 160.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.7134, allocations: 7.626 MB / 0.581 GB, free: 152.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008867/0.7143, allocations: 1.85 MB / 0.5828 GB, free: 151 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005733/0.72, allocations: 1.768 MB / 0.5845 GB, free: 149.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.7212, allocations: 287.3 kB / 0.5848 GB, free: 149 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.7212, allocations: 4 kB / 0.5848 GB, free: 149 MB / 446.1 MB Notification: Performance of Templates: time 0.07166/0.7928, allocations: 61.06 MB / 0.6444 GB, free: 87.82 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches