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.00131/0.00131, allocations: 116.6 kB / 18.49 MB, free: 4.566 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.001413/0.001413, allocations: 189 kB / 21.43 MB, free: 1.641 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.347/1.347, allocations: 225.6 MB / 249.8 MB, free: 3.617 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 39.94 kB / 366.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.09494, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3337/0.4286, allocations: 152.3 MB / 0.5574 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.4299, allocations: 0.6961 MB / 0.5581 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.737e-05/0.43, allocations: 3.938 kB / 0.5581 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.4303, allocations: 79.48 kB / 0.5582 GB, free: 13.19 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005503/0.4309, allocations: 292.3 kB / 0.5584 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.4336, allocations: 1.124 MB / 0.5595 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005306/0.4389, allocations: 5.601 MB / 0.565 GB, free: 6.168 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.4392, allocations: 192 kB / 0.5652 GB, free: 5.957 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003557/0.4428, allocations: 2.257 MB / 0.5674 GB, free: 3.695 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003377/0.4461, allocations: 2.042 MB / 0.5694 GB, free: 1.648 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006767/0.4468, allocations: 243.6 kB / 0.5696 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003488/0.4503, allocations: 1.775 MB / 0.5714 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00131/0.4516, allocations: 1.231 MB / 0.5726 GB, free: 14.4 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002121/0.4537, allocations: 1.561 MB / 0.5741 GB, free: 12.84 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005011/0.4587, allocations: 4.549 MB / 0.5785 GB, free: 8.273 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4588, allocations: 0 / 0.5785 GB, free: 8.273 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4588, allocations: 0 / 0.5785 GB, free: 8.273 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.382e-05/0.4588, allocations: 0 / 0.5785 GB, free: 8.273 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.008639/0.4674, allocations: 3.545 MB / 0.582 GB, free: 4.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4675, allocations: 12.03 kB / 0.582 GB, free: 4.648 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.439e-05/0.4675, allocations: 61.06 kB / 0.5821 GB, free: 4.586 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005158/0.4681, allocations: 378 kB / 0.5824 GB, free: 4.207 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.4698, allocations: 335.4 kB / 0.5827 GB, free: 3.879 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.4723, allocations: 1.347 MB / 0.584 GB, free: 2.488 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.4724, allocations: 176.9 kB / 0.5842 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004006/0.4728, allocations: 244 kB / 0.5844 GB, free: 2.074 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006293/0.4791, allocations: 3.823 MB / 0.5882 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.4792, allocations: 4 kB / 0.5882 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003349/0.4795, allocations: 112 kB / 0.5883 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.136e-05/0.4796, allocations: 60 kB / 0.5884 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009049/0.4886, allocations: 5.99 MB / 0.5942 GB, free: 8.016 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.02047/0.5091, allocations: 11.22 MB / 0.6052 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007156/0.5162, allocations: 4.786 MB / 0.6098 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003471/0.5197, allocations: 2.244 MB / 0.612 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006218/0.5203, allocations: 431.3 kB / 0.6124 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.364e-05/0.5204, allocations: 95.69 kB / 0.6125 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=390): time 4.899e-06/0.5204, allocations: 0 / 0.6125 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=390): time 0.009902/0.5303, allocations: 5.836 MB / 0.6182 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.5304, allocations: 90.47 kB / 0.6183 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.5316, allocations: 0.8674 MB / 0.6192 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003839/0.532, allocations: 105.7 kB / 0.6193 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/0.5324, allocations: 0.5281 MB / 0.6198 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001252/0.5336, allocations: 1.371 MB / 0.6211 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/0.5347, allocations: 0.6293 MB / 0.6217 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.5349, allocations: 353.9 kB / 0.6221 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002959/0.5379, allocations: 1.748 MB / 0.6238 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00335/0.5412, allocations: 2.258 MB / 0.626 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006743/0.548, allocations: 4.329 MB / 0.6302 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.548, allocations: 7.188 kB / 0.6302 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.179/0.727, allocations: 4.588 MB / 0.6347 GB, free: 182.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.727, allocations: 10.78 kB / 0.6347 GB, free: 182.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/0.727, allocations: 9.531 kB / 0.6347 GB, free: 182.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.367e-05/0.7271, allocations: 34.61 kB / 0.6347 GB, free: 182.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003438/0.7305, allocations: 0.7919 MB / 0.6355 GB, free: 182.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-05/0.7306, allocations: 36.31 kB / 0.6356 GB, free: 182.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.7327, allocations: 364.6 kB / 0.6359 GB, free: 182.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002744/0.733, allocations: 148.5 kB / 0.636 GB, free: 182.4 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.00136/0.7343, allocations: 0.7601 MB / 0.6368 GB, free: 182.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005758/0.7349, allocations: 215.3 kB / 0.637 GB, free: 182.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008916/0.7438, allocations: 5.168 MB / 0.642 GB, free: 181.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.28e-05/0.7439, allocations: 41.42 kB / 0.6421 GB, free: 181.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.7439, allocations: 2 kB / 0.6421 GB, free: 181.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.42e-05/0.7439, allocations: 20.02 kB / 0.6421 GB, free: 181.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004199/0.7481, allocations: 2.83 MB / 0.6449 GB, free: 180.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.639e-06/0.7481, allocations: 3.094 kB / 0.6449 GB, free: 180.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00314/0.7513, allocations: 0.733 MB / 0.6456 GB, free: 180.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.951e-05/0.7513, allocations: 14.09 kB / 0.6456 GB, free: 180.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001971/0.7515, allocations: 90.36 kB / 0.6457 GB, free: 180.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.679e-05/0.7515, allocations: 17.38 kB / 0.6457 GB, free: 180.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7515, allocations: 2.719 kB / 0.6457 GB, free: 180.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009656/0.7612, allocations: 7.225 MB / 0.6528 GB, free: 178.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/0.7616, allocations: 330.7 kB / 0.6531 GB, free: 178.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/0.7619, allocations: 77.77 kB / 0.6531 GB, free: 178 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002644/0.7646, allocations: 229.8 kB / 0.6534 GB, free: 178 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00056/0.7651, allocations: 306.4 kB / 0.6537 GB, free: 177.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003224/0.7655, allocations: 183.6 kB / 0.6538 GB, free: 177.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007104/0.7662, allocations: 0.6877 MB / 0.6545 GB, free: 177.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.7662, allocations: 0 / 0.6545 GB, free: 177.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002064/0.7682, allocations: 1.09 MB / 0.6556 GB, free: 177.5 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.008783/0.777, allocations: 8.125 MB / 0.6635 GB, free: 173.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004849/0.7819, allocations: 4.119 MB / 0.6675 GB, free: 169.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.7819, allocations: 9 kB / 0.6675 GB, free: 169.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002239/0.7841, allocations: 2.107 MB / 0.6696 GB, free: 167.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004692/0.7888, allocations: 1.254 MB / 0.6708 GB, free: 166.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02827/0.8171, allocations: 24.65 MB / 0.6949 GB, free: 141 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008866/0.818, allocations: 1.845 MB / 0.6967 GB, free: 139.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003693/0.8216, allocations: 1.768 MB / 0.6984 GB, free: 137.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/0.8229, allocations: 0.8898 MB / 0.6993 GB, free: 136.4 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.8229, allocations: 0 / 0.6993 GB, free: 136.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09741/0.9203, allocations: 83.76 MB / 0.7811 GB, free: 52.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.58, allocations: 10.86 kB / 0.7811 GB, free: 52.95 MB / 0.5137 GB " [Timeout remaining time 645] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 17.31967562495265]