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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008167/0.0008167, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003422/0.003422, allocations: 162.9 kB / 24.69 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8425/0.8425, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.533e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2368/0.2368, allocations: 131.7 MB / 430.2 MB, free: 10.65 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.2379, allocations: 0.898 MB / 431.1 MB, free: 9.754 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.182e-05/0.238, allocations: 0 / 431.1 MB, free: 9.754 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.2383, allocations: 67.52 kB / 431.1 MB, free: 9.688 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004136/0.2388, allocations: 310.3 kB / 431.4 MB, free: 9.383 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.2415, allocations: 1.346 MB / 432.8 MB, free: 8.035 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002792/0.2443, allocations: 5.679 MB / 438.5 MB, free: 2.336 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.2444, allocations: 100.7 kB / 438.6 MB, free: 2.211 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002269/0.2467, allocations: 2.96 MB / 441.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.2486, allocations: 2.105 MB / 443.6 MB, free: 13.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003312/0.2489, allocations: 243.9 kB / 443.9 MB, free: 12.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.2511, allocations: 1.669 MB / 445.5 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007823/0.2519, allocations: 1.274 MB / 446.8 MB, free: 9.949 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009718/0.2528, allocations: 1.26 MB / 448.1 MB, free: 8.688 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.2563, allocations: 5.081 MB / 453.2 MB, free: 3.594 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2563, allocations: 8 kB / 453.2 MB, free: 3.586 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2563, allocations: 0 / 453.2 MB, free: 3.586 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.881e-05/0.2563, allocations: 0 / 453.2 MB, free: 3.586 MB / 410.7 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.004743/0.2611, allocations: 3.466 MB / 456.6 MB, free: 76 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2611, allocations: 15.98 kB / 456.6 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1308/0.3919, allocations: 372.2 kB / 457 MB, free: 138 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.3932, allocations: 336.8 kB / 457.3 MB, free: 138 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/0.3952, allocations: 1.331 MB / 458.7 MB, free: 137.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.951e-05/0.3953, allocations: 183.9 kB / 458.8 MB, free: 137.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002915/0.3956, allocations: 242.6 kB / 459.1 MB, free: 137.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004687/0.4003, allocations: 5.939 MB / 465 MB, free: 133.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.4003, allocations: 4.406 kB / 465 MB, free: 133.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002331/0.4006, allocations: 113.5 kB / 465.1 MB, free: 133.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.701e-05/0.4006, allocations: 64.42 kB / 465.2 MB, free: 133.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005971/0.4066, allocations: 5.875 MB / 471.1 MB, free: 132.5 MB / 410.7 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.009276/0.4159, allocations: 7.645 MB / 478.7 MB, free: 129.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003619/0.4195, allocations: 4.774 MB / 483.5 MB, free: 124.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/0.4213, allocations: 2.244 MB / 485.7 MB, free: 122.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/0.4216, allocations: 115 kB / 485.8 MB, free: 122.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.4217, allocations: 94.56 kB / 485.9 MB, free: 122.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=390): time 4.929e-06/0.4217, allocations: 0 / 485.9 MB, free: 122.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=390): time 0.005433/0.4271, allocations: 5.825 MB / 491.8 MB, free: 116.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.4271, allocations: 94.47 kB / 491.9 MB, free: 116.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005766/0.4277, allocations: 0.8837 MB / 492.7 MB, free: 115.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000172/0.4279, allocations: 104 kB / 492.8 MB, free: 115.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.428, allocations: 0.5305 MB / 493.4 MB, free: 114.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004683/0.4285, allocations: 1.355 MB / 494.7 MB, free: 113.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005125/0.429, allocations: 0.6293 MB / 495.4 MB, free: 112.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.75e-05/0.4291, allocations: 357.9 kB / 495.7 MB, free: 112.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.4306, allocations: 1.744 MB / 497.5 MB, free: 110.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.4323, allocations: 2.258 MB / 499.7 MB, free: 108.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003488/0.4358, allocations: 4.33 MB / 0.4922 GB, free: 103.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.4358, allocations: 4 kB / 0.4922 GB, free: 103.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.004012/0.4398, allocations: 4.591 MB / 0.4967 GB, free: 99.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.4398, allocations: 11.94 kB / 0.4967 GB, free: 99.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.4398, allocations: 12.62 kB / 0.4967 GB, free: 99.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/0.4399, allocations: 30.09 kB / 0.4968 GB, free: 99.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.4416, allocations: 0.7996 MB / 0.4975 GB, free: 98.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/0.4416, allocations: 35.86 kB / 0.4976 GB, free: 98.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.4426, allocations: 361.6 kB / 0.4979 GB, free: 98.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/0.4428, allocations: 151.6 kB / 0.4981 GB, free: 97.92 MB / 410.7 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.0007358/0.4435, allocations: 0.7621 MB / 0.4988 GB, free: 97.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.4438, allocations: 218.8 kB / 0.499 GB, free: 96.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004589/0.4484, allocations: 5.178 MB / 0.5041 GB, free: 91.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.4484, allocations: 40 kB / 0.5041 GB, free: 91.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.4484, allocations: 0 / 0.5041 GB, free: 91.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/0.4485, allocations: 27.91 kB / 0.5041 GB, free: 91.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.4506, allocations: 2.457 MB / 0.5065 GB, free: 89.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4506, allocations: 0 / 0.5065 GB, free: 89.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/0.4521, allocations: 0.7294 MB / 0.5073 GB, free: 88.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.4521, allocations: 15.94 kB / 0.5073 GB, free: 88.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.4523, allocations: 95.95 kB / 0.5074 GB, free: 88.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/0.4523, allocations: 16 kB / 0.5074 GB, free: 88.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4523, allocations: 7.922 kB / 0.5074 GB, free: 88.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005646/0.4579, allocations: 7.219 MB / 0.5144 GB, free: 81.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.4581, allocations: 249.8 kB / 0.5147 GB, free: 80.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.4583, allocations: 91.81 kB / 0.5148 GB, free: 80.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.4595, allocations: 219.8 kB / 0.515 GB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/0.4598, allocations: 330.8 kB / 0.5153 GB, free: 80.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/0.46, allocations: 179.8 kB / 0.5155 GB, free: 80.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004298/0.4604, allocations: 0.6863 MB / 0.5161 GB, free: 79.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4604, allocations: 0 / 0.5161 GB, free: 79.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001257/0.4616, allocations: 1.093 MB / 0.5172 GB, free: 78.27 MB / 410.7 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.006497/0.4681, allocations: 8.173 MB / 0.5252 GB, free: 70.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003484/0.4716, allocations: 4.121 MB / 0.5292 GB, free: 65.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.4716, allocations: 5 kB / 0.5292 GB, free: 65.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001687/0.4733, allocations: 2.103 MB / 0.5313 GB, free: 63.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/0.4759, allocations: 1.248 MB / 0.5325 GB, free: 62.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/0.4946, allocations: 24.49 MB / 0.5564 GB, free: 37.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.4951, allocations: 1.268 MB / 0.5576 GB, free: 36.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002493/0.4976, allocations: 1.775 MB / 0.5594 GB, free: 34.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008898/0.4985, allocations: 0.8908 MB / 0.5602 GB, free: 33.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.4985, allocations: 4 kB / 0.5602 GB, free: 33.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2016/0.7001, allocations: 89.35 MB / 0.6475 GB, free: 123.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.215/9.915, allocations: 0 / 0.6475 GB, free: 123.2 MB / 426.7 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 11.646415989845991]