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.001811/0.001811, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.002189/0.002189, allocations: 183.7 kB / 23.72 MB, free: 4.699 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.377/1.377, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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.001673/0.001673, allocations: 51.86 kB / 370.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2418, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3891/0.6309, allocations: 152.3 MB / 0.5615 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.6319, allocations: 0.7034 MB / 0.5622 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.556e-05/0.632, allocations: 2.812 kB / 0.5622 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.6324, allocations: 82.42 kB / 0.5623 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005547/0.633, allocations: 295.4 kB / 0.5626 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.6356, allocations: 1.144 MB / 0.5637 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004062/0.6396, allocations: 5.666 MB / 0.5692 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.6399, allocations: 91.69 kB / 0.5693 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003473/0.6433, allocations: 2.271 MB / 0.5715 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003415/0.6468, allocations: 2.051 MB / 0.5735 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008546/0.6476, allocations: 237.2 kB / 0.5737 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003847/0.6515, allocations: 1.796 MB / 0.5755 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.653, allocations: 1.248 MB / 0.5767 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002595/0.6556, allocations: 1.565 MB / 0.5782 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005584/0.6612, allocations: 4.545 MB / 0.5827 GB, free: 9.613 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6612, allocations: 0 / 0.5827 GB, free: 9.613 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6612, allocations: 0 / 0.5827 GB, free: 9.613 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.426e-05/0.6613, allocations: 0 / 0.5827 GB, free: 9.613 MB / 462.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.009684/0.671, allocations: 3.476 MB / 0.5861 GB, free: 7.898 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.671, allocations: 9.969 kB / 0.5861 GB, free: 7.898 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005583/0.6716, allocations: 372 kB / 0.5864 GB, free: 7.789 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.6734, allocations: 337.8 kB / 0.5868 GB, free: 7.648 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003307/0.6767, allocations: 1.338 MB / 0.5881 GB, free: 7.109 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.6768, allocations: 183.4 kB / 0.5882 GB, free: 7.102 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005225/0.6773, allocations: 243.1 kB / 0.5885 GB, free: 7.098 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006561/0.6839, allocations: 3.828 MB / 0.5922 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-05/0.6839, allocations: 0 / 0.5922 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000416/0.6843, allocations: 113.9 kB / 0.5923 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/0.6844, allocations: 56 kB / 0.5924 GB, free: 5.465 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00952/0.6939, allocations: 5.987 MB / 0.5982 GB, free: 0.6328 MB / 462.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.02249/0.7164, allocations: 11.26 MB / 0.6092 GB, free: 4.793 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007232/0.7236, allocations: 4.784 MB / 0.6139 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00358/0.7272, allocations: 2.248 MB / 0.6161 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004547/0.7277, allocations: 132 kB / 0.6162 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.7278, allocations: 94.62 kB / 0.6163 GB, free: 13.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 5.08e-06/0.7278, allocations: 0 / 0.6163 GB, free: 13.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01014/0.7379, allocations: 5.832 MB / 0.622 GB, free: 7.664 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/0.738, allocations: 90.47 kB / 0.6221 GB, free: 7.562 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.7392, allocations: 0.8636 MB / 0.6229 GB, free: 6.691 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003971/0.7396, allocations: 105.7 kB / 0.623 GB, free: 6.582 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004242/0.74, allocations: 0.5304 MB / 0.6235 GB, free: 6.047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00126/0.7412, allocations: 1.375 MB / 0.6249 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009398/0.7422, allocations: 0.6216 MB / 0.6255 GB, free: 4.062 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.7424, allocations: 369.9 kB / 0.6258 GB, free: 3.695 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002959/0.7453, allocations: 1.74 MB / 0.6275 GB, free: 1.953 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003421/0.7488, allocations: 2.258 MB / 0.6297 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006843/0.7556, allocations: 4.325 MB / 0.634 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/0.7556, allocations: 4 kB / 0.634 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00814/0.7637, allocations: 4.595 MB / 0.6385 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.7638, allocations: 8.156 kB / 0.6385 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.7638, allocations: 16 kB / 0.6385 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.013e-05/0.7638, allocations: 31.94 kB / 0.6385 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003766/0.7676, allocations: 0.7917 MB / 0.6393 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.407e-05/0.7677, allocations: 27.94 kB / 0.6393 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/0.7702, allocations: 373.5 kB / 0.6397 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003526/0.7706, allocations: 147.9 kB / 0.6398 GB, free: 5.031 MB / 0.4981 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.00162/0.7722, allocations: 0.7544 MB / 0.6405 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007114/0.7729, allocations: 218.8 kB / 0.6408 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009641/0.7826, allocations: 5.17 MB / 0.6458 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.872e-05/0.7826, allocations: 43.94 kB / 0.6458 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.7826, allocations: 0 / 0.6458 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.154e-05/0.7826, allocations: 23.92 kB / 0.6459 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004878/0.7875, allocations: 2.804 MB / 0.6486 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.7875, allocations: 0 / 0.6486 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003536/0.7911, allocations: 0.7294 MB / 0.6493 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.854e-05/0.7911, allocations: 12 kB / 0.6493 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000306/0.7914, allocations: 93.08 kB / 0.6494 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.159e-05/0.7914, allocations: 15.94 kB / 0.6494 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7914, allocations: 4 kB / 0.6494 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/0.8036, allocations: 7.227 MB / 0.6565 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006367/0.8042, allocations: 253.8 kB / 0.6567 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005887/0.8048, allocations: 83.89 kB / 0.6568 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002939/0.8077, allocations: 227.7 kB / 0.657 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007018/0.8084, allocations: 326.8 kB / 0.6573 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005224/0.809, allocations: 175.9 kB / 0.6575 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009719/0.8099, allocations: 0.6824 MB / 0.6582 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8099, allocations: 4 kB / 0.6582 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002665/0.8126, allocations: 1.085 MB / 0.6592 GB, free: 1.094 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.0124/0.825, allocations: 8.124 MB / 0.6672 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007286/0.8323, allocations: 4.117 MB / 0.6712 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.8323, allocations: 12.88 kB / 0.6712 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003447/0.8357, allocations: 2.108 MB / 0.6733 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005551/0.8413, allocations: 1.25 MB / 0.6745 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04192/0.8832, allocations: 24.65 MB / 0.6986 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/0.8848, allocations: 1.845 MB / 0.7004 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004859/0.8897, allocations: 1.764 MB / 0.7021 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001745/0.8914, allocations: 0.8936 MB / 0.703 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of SimCode: time 1.292e-06/0.8914, allocations: 0 / 0.703 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3135/1.205, allocations: 86.76 MB / 0.7877 GB, free: 261.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.39/17.59, allocations: 10.09 kB / 0.7877 GB, free: 261.7 MB / 0.6075 GB " [Timeout remaining time 642] (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: 20.16230760398321]