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.001549/0.001549, allocations: 108.4 kB / 18.36 MB, free: 4.641 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.00176/0.00176, allocations: 191 kB / 19.29 MB, free: 3.715 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.292/1.292, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001257/0.001257, allocations: 51.91 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07545/0.07672, allocations: 46.63 MB / 328.7 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2952/0.3719, allocations: 153.1 MB / 481.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3734, allocations: 0.9572 MB / 482.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.3736, allocations: 4 kB / 482.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.374, allocations: 75.5 kB / 482.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000631/0.3746, allocations: 285 kB / 483.1 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.3778, allocations: 1.306 MB / 484.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004726/0.3826, allocations: 5.601 MB / 490.1 MB, free: 5.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.3829, allocations: 259.7 kB / 490.3 MB, free: 4.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.3859, allocations: 2.171 MB / 492.5 MB, free: 2.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002525/0.3884, allocations: 1.963 MB / 494.4 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004958/0.3889, allocations: 236 kB / 494.7 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003444/0.3923, allocations: 1.938 MB / 496.6 MB, free: 14.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00124/0.3936, allocations: 1.228 MB / 497.8 MB, free: 13.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002328/0.3959, allocations: 1.565 MB / 499.4 MB, free: 11.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005323/0.4013, allocations: 4.621 MB / 0.4922 GB, free: 7.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4013, allocations: 4 kB / 0.4922 GB, free: 7.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4013, allocations: 0 / 0.4922 GB, free: 7.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.407e-05/0.4014, allocations: 0 / 0.4922 GB, free: 7.145 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.008581/0.41, allocations: 3.515 MB / 0.4956 GB, free: 3.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.41, allocations: 12.03 kB / 0.4957 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.4118, allocations: 322.2 kB / 0.496 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/0.4149, allocations: 1.343 MB / 0.4973 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.4151, allocations: 182.8 kB / 0.4975 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000377/0.4154, allocations: 244 kB / 0.4977 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005673/0.4211, allocations: 3.819 MB / 0.5014 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.4212, allocations: 0 / 0.5014 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003127/0.4215, allocations: 116 kB / 0.5015 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/0.4215, allocations: 60 kB / 0.5016 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008178/0.4297, allocations: 5.99 MB / 0.5074 GB, free: 7.387 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.01942/0.4492, allocations: 11.22 MB / 0.5184 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006535/0.4557, allocations: 5.03 MB / 0.5233 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003119/0.4589, allocations: 2.408 MB / 0.5257 GB, free: 3.852 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005301/0.4594, allocations: 435.3 kB / 0.5261 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.832e-05/0.4595, allocations: 98.56 kB / 0.5262 GB, free: 3.246 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 6.151e-06/0.4595, allocations: 0 / 0.5262 GB, free: 3.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.008845/0.4684, allocations: 5.812 MB / 0.5318 GB, free: 13.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.4684, allocations: 90.47 kB / 0.5319 GB, free: 13.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.4695, allocations: 0.879 MB / 0.5328 GB, free: 12.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003073/0.4698, allocations: 97.7 kB / 0.5329 GB, free: 12.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.4701, allocations: 0.5227 MB / 0.5334 GB, free: 11.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009059/0.471, allocations: 1.301 MB / 0.5347 GB, free: 10.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008581/0.4719, allocations: 0.6254 MB / 0.5353 GB, free: 9.836 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.472, allocations: 361.9 kB / 0.5356 GB, free: 9.477 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002525/0.4746, allocations: 1.748 MB / 0.5373 GB, free: 7.727 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002843/0.4774, allocations: 2.254 MB / 0.5395 GB, free: 5.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00582/0.4832, allocations: 4.329 MB / 0.5437 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.4833, allocations: 4 kB / 0.5438 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.1456/0.6288, allocations: 4.584 MB / 0.5482 GB, free: 176.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.6289, allocations: 10.5 kB / 0.5482 GB, free: 176.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/0.629, allocations: 10.75 kB / 0.5482 GB, free: 176.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.692e-05/0.629, allocations: 27.5 kB / 0.5483 GB, free: 176.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003789/0.6328, allocations: 0.7936 MB / 0.549 GB, free: 176.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.518e-05/0.6329, allocations: 36.78 kB / 0.5491 GB, free: 176.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/0.6354, allocations: 366.4 kB / 0.5494 GB, free: 176.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003184/0.6357, allocations: 144.5 kB / 0.5496 GB, free: 176.6 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.00166/0.6374, allocations: 0.7594 MB / 0.5503 GB, free: 176.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006414/0.638, allocations: 206.3 kB / 0.5505 GB, free: 176.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008925/0.647, allocations: 5.171 MB / 0.5556 GB, free: 174.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-05/0.647, allocations: 40.5 kB / 0.5556 GB, free: 174.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-05/0.6471, allocations: 5.125 kB / 0.5556 GB, free: 174.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.669e-05/0.6471, allocations: 21.83 kB / 0.5556 GB, free: 174.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003789/0.6509, allocations: 2.812 MB / 0.5584 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.6509, allocations: 3.562 kB / 0.5584 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003234/0.6542, allocations: 0.7257 MB / 0.5591 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.909e-05/0.6542, allocations: 20 kB / 0.5591 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002296/0.6544, allocations: 93.28 kB / 0.5592 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.657e-05/0.6545, allocations: 16.81 kB / 0.5592 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6545, allocations: 2.734 kB / 0.5592 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008614/0.6631, allocations: 7.22 MB / 0.5663 GB, free: 168.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004227/0.6635, allocations: 321.8 kB / 0.5666 GB, free: 168.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003333/0.6639, allocations: 87.83 kB / 0.5667 GB, free: 168.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002534/0.6664, allocations: 219.5 kB / 0.5669 GB, free: 168.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004749/0.6669, allocations: 314.3 kB / 0.5672 GB, free: 168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003262/0.6672, allocations: 179.9 kB / 0.5673 GB, free: 167.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006563/0.6679, allocations: 0.6824 MB / 0.568 GB, free: 167.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6679, allocations: 6.531 kB / 0.568 GB, free: 167.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001992/0.6699, allocations: 1.085 MB / 0.5691 GB, free: 166.1 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.0009834/0.6709, allocations: 481.3 kB / 0.5695 GB, free: 165.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005221/0.6761, allocations: 4.301 MB / 0.5737 GB, free: 161.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.6762, allocations: 5 kB / 0.5737 GB, free: 161.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002505/0.6787, allocations: 2.267 MB / 0.5759 GB, free: 159.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004568/0.6833, allocations: 1.248 MB / 0.5772 GB, free: 157.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009372/0.6926, allocations: 6.639 MB / 0.5836 GB, free: 151.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008776/0.6935, allocations: 1.852 MB / 0.5855 GB, free: 149.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004328/0.6979, allocations: 1.768 MB / 0.5872 GB, free: 147.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.6989, allocations: 291.3 kB / 0.5875 GB, free: 147.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6989, allocations: 4 kB / 0.5875 GB, free: 147.3 MB / 446.1 MB Notification: Performance of Templates: time 0.07197/0.7709, allocations: 63.76 MB / 0.6497 GB, free: 83.44 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 -s gbode -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