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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 119.9 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 189.2 kB / 20.73 MB, free: 2.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 47.92 kB / 365.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09456/0.09613, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3597/0.4558, allocations: 152.3 MB / 0.5567 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.457, allocations: 0.6959 MB / 0.5574 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.294e-05/0.4571, allocations: 3.938 kB / 0.5574 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.4575, allocations: 82.48 kB / 0.5575 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006411/0.4582, allocations: 293.3 kB / 0.5578 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.4612, allocations: 1.124 MB / 0.5589 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005426/0.4666, allocations: 5.601 MB / 0.5643 GB, free: 6.188 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.4669, allocations: 188 kB / 0.5645 GB, free: 5.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003614/0.4705, allocations: 2.242 MB / 0.5667 GB, free: 3.734 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003526/0.474, allocations: 2.046 MB / 0.5687 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007441/0.4748, allocations: 236 kB / 0.5689 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004078/0.4789, allocations: 1.778 MB / 0.5707 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.4806, allocations: 1.227 MB / 0.5719 GB, free: 14.44 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002524/0.4831, allocations: 1.561 MB / 0.5734 GB, free: 12.88 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006001/0.4891, allocations: 4.545 MB / 0.5778 GB, free: 8.316 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4891, allocations: 0 / 0.5778 GB, free: 8.316 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4891, allocations: 0 / 0.5778 GB, free: 8.316 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.953e-05/0.4892, allocations: 0 / 0.5778 GB, free: 8.316 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.009295/0.4985, allocations: 3.556 MB / 0.5813 GB, free: 4.695 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.4985, allocations: 11.97 kB / 0.5813 GB, free: 4.684 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005723/0.4991, allocations: 370 kB / 0.5817 GB, free: 4.312 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/0.501, allocations: 339.6 kB / 0.582 GB, free: 3.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003575/0.5045, allocations: 1.343 MB / 0.5833 GB, free: 2.594 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.5047, allocations: 180.9 kB / 0.5835 GB, free: 2.414 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004683/0.5052, allocations: 244 kB / 0.5837 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006586/0.5117, allocations: 3.823 MB / 0.5874 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/0.5118, allocations: 0 / 0.5874 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003667/0.5122, allocations: 116 kB / 0.5875 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.413e-05/0.5122, allocations: 60 kB / 0.5876 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009141/0.5214, allocations: 5.982 MB / 0.5934 GB, free: 8.125 MB / 494.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.02206/0.5434, allocations: 11.23 MB / 0.6044 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007289/0.5507, allocations: 4.775 MB / 0.6091 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003653/0.5544, allocations: 2.248 MB / 0.6113 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006468/0.555, allocations: 439.3 kB / 0.6117 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.5551, allocations: 94.61 kB / 0.6118 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=390): time 4.899e-06/0.5551, allocations: 0 / 0.6118 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=390): time 0.0106/0.5657, allocations: 5.825 MB / 0.6175 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/0.5658, allocations: 90.47 kB / 0.6175 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.567, allocations: 0.8791 MB / 0.6184 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005103/0.5675, allocations: 105.7 kB / 0.6185 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/0.568, allocations: 0.528 MB / 0.619 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001382/0.5694, allocations: 1.367 MB / 0.6204 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/0.5704, allocations: 0.6294 MB / 0.621 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.5706, allocations: 357.9 kB / 0.6213 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003155/0.5737, allocations: 1.748 MB / 0.623 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003867/0.5776, allocations: 2.266 MB / 0.6252 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007388/0.585, allocations: 4.325 MB / 0.6295 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/0.585, allocations: 0 / 0.6295 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.1861/0.7711, allocations: 4.593 MB / 0.6339 GB, free: 182.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.7711, allocations: 8.094 kB / 0.6339 GB, free: 182.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.7712, allocations: 12.03 kB / 0.634 GB, free: 182.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.797e-05/0.7712, allocations: 32.59 kB / 0.634 GB, free: 182.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003587/0.7748, allocations: 0.7892 MB / 0.6348 GB, free: 182.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.951e-05/0.7749, allocations: 37.73 kB / 0.6348 GB, free: 182.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/0.7774, allocations: 372.5 kB / 0.6352 GB, free: 182.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004702/0.7779, allocations: 144.6 kB / 0.6353 GB, free: 182.3 MB / 0.5137 GB 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.001748/0.7796, allocations: 0.7584 MB / 0.636 GB, free: 182.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006739/0.7803, allocations: 215 kB / 0.6362 GB, free: 182 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/0.7906, allocations: 5.165 MB / 0.6413 GB, free: 181.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.263e-05/0.7906, allocations: 40.67 kB / 0.6413 GB, free: 181.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.7906, allocations: 1.688 kB / 0.6413 GB, free: 181.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.096e-05/0.7907, allocations: 25.36 kB / 0.6413 GB, free: 181.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004703/0.7954, allocations: 2.83 MB / 0.6441 GB, free: 180.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-05/0.7954, allocations: 0 / 0.6441 GB, free: 180.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003486/0.7989, allocations: 0.7264 MB / 0.6448 GB, free: 180.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.952e-05/0.7989, allocations: 14.75 kB / 0.6448 GB, free: 180.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00041/0.7993, allocations: 89.91 kB / 0.6449 GB, free: 180.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.87e-05/0.7994, allocations: 17.72 kB / 0.6449 GB, free: 180.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-06/0.7994, allocations: 0 / 0.6449 GB, free: 180.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/0.8103, allocations: 7.238 MB / 0.652 GB, free: 178.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006205/0.8109, allocations: 325.8 kB / 0.6523 GB, free: 178 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000528/0.8114, allocations: 84.97 kB / 0.6524 GB, free: 177.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002553/0.814, allocations: 226.3 kB / 0.6526 GB, free: 177.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005341/0.8145, allocations: 314.8 kB / 0.6529 GB, free: 177.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003307/0.8149, allocations: 176.1 kB / 0.6531 GB, free: 177.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007657/0.8156, allocations: 0.6831 MB / 0.6537 GB, free: 177.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.8156, allocations: 0 / 0.6537 GB, free: 177.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002398/0.818, allocations: 1.089 MB / 0.6548 GB, free: 177.4 MB / 0.5137 GB 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.009361/0.8274, allocations: 8.132 MB / 0.6627 GB, free: 173.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005451/0.8328, allocations: 4.115 MB / 0.6668 GB, free: 169.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/0.8329, allocations: 5 kB / 0.6668 GB, free: 169.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00254/0.8354, allocations: 2.111 MB / 0.6688 GB, free: 167.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005184/0.8406, allocations: 1.252 MB / 0.6701 GB, free: 166.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02968/0.8703, allocations: 24.65 MB / 0.6941 GB, free: 141.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009069/0.8712, allocations: 1.845 MB / 0.6959 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004108/0.8753, allocations: 1.771 MB / 0.6977 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/0.8767, allocations: 0.8882 MB / 0.6985 GB, free: 136.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.413e-06/0.8767, allocations: 4 kB / 0.6985 GB, free: 136.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/0.9798, allocations: 83.72 MB / 0.7803 GB, free: 53.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.33, allocations: 7.938 kB / 0.7803 GB, free: 53.07 MB / 0.5137 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.858875829726458]