Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001808/0.001808, allocations: 121.8 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002159/0.002159, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 63.89 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1045, allocations: 53.32 MB / 426.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3698/0.4743, allocations: 155.2 MB / 0.5682 GB, free: 5.52 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.4755, allocations: 0.7078 MB / 0.5689 GB, free: 4.816 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.4756, allocations: 0 / 0.5689 GB, free: 4.816 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.4759, allocations: 83.48 kB / 0.569 GB, free: 4.734 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005882/0.4765, allocations: 298.6 kB / 0.5693 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.4795, allocations: 1.111 MB / 0.5704 GB, free: 3.336 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005169/0.4846, allocations: 5.605 MB / 0.5758 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.4849, allocations: 192 kB / 0.576 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003436/0.4884, allocations: 2.242 MB / 0.5782 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003363/0.4917, allocations: 2.05 MB / 0.5802 GB, free: 9.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007119/0.4924, allocations: 236 kB / 0.5804 GB, free: 8.969 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004158/0.4966, allocations: 1.81 MB / 0.5822 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001626/0.4982, allocations: 1.231 MB / 0.5834 GB, free: 5.922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002482/0.5007, allocations: 1.565 MB / 0.5849 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006103/0.5068, allocations: 4.568 MB / 0.5894 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5068, allocations: 0 / 0.5894 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5068, allocations: 0 / 0.5894 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.457e-05/0.5069, allocations: 1.969 kB / 0.5894 GB, free: 15.77 MB / 0.4981 GB 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.009656/0.5166, allocations: 3.557 MB / 0.5929 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.5166, allocations: 8.031 kB / 0.5929 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005692/0.5172, allocations: 374 kB / 0.5932 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.5191, allocations: 339.4 kB / 0.5935 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00374/0.5228, allocations: 1.331 MB / 0.5948 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/0.523, allocations: 188.8 kB / 0.595 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005373/0.5235, allocations: 247.9 kB / 0.5953 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00713/0.5306, allocations: 3.819 MB / 0.599 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.483e-05/0.5307, allocations: 7.922 kB / 0.599 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004206/0.5311, allocations: 116 kB / 0.5991 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-05/0.5312, allocations: 56.5 kB / 0.5992 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01024/0.5414, allocations: 5.986 MB / 0.605 GB, free: 15.57 MB / 0.5137 GB 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.02343/0.5648, allocations: 11.23 MB / 0.616 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1795/0.7444, allocations: 4.777 MB / 0.6206 GB, free: 177.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003277/0.7476, allocations: 2.242 MB / 0.6228 GB, free: 177.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000479/0.7481, allocations: 436.6 kB / 0.6233 GB, free: 176.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.932e-05/0.7482, allocations: 97.16 kB / 0.6233 GB, free: 176.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=390): time 6.051e-06/0.7482, allocations: 1.219 kB / 0.6233 GB, free: 176.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=390): time 0.009986/0.7582, allocations: 5.823 MB / 0.629 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.7583, allocations: 92.28 kB / 0.6291 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.7593, allocations: 0.877 MB / 0.63 GB, free: 174.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003185/0.7596, allocations: 101.3 kB / 0.6301 GB, free: 174.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.7599, allocations: 0.5305 MB / 0.6306 GB, free: 174.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008096/0.7607, allocations: 1.371 MB / 0.6319 GB, free: 173.4 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008545/0.7616, allocations: 0.6283 MB / 0.6325 GB, free: 173.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.183e-05/0.7616, allocations: 355.7 kB / 0.6329 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002545/0.7642, allocations: 1.743 MB / 0.6346 GB, free: 172.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002861/0.767, allocations: 2.262 MB / 0.6368 GB, free: 171.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005578/0.7726, allocations: 4.334 MB / 0.641 GB, free: 169.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.7726, allocations: 3.938 kB / 0.641 GB, free: 169.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006446/0.7791, allocations: 4.594 MB / 0.6455 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.7791, allocations: 12.62 kB / 0.6455 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.7791, allocations: 14.09 kB / 0.6455 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-05/0.7792, allocations: 28.56 kB / 0.6456 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003362/0.7825, allocations: 0.7947 MB / 0.6463 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.113e-05/0.7826, allocations: 34.91 kB / 0.6464 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/0.7846, allocations: 368.4 kB / 0.6467 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/0.7849, allocations: 144.8 kB / 0.6469 GB, free: 168.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.001107/0.786, allocations: 0.7644 MB / 0.6476 GB, free: 167.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004625/0.7864, allocations: 215.7 kB / 0.6478 GB, free: 167.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006747/0.7932, allocations: 5.174 MB / 0.6529 GB, free: 165 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/0.7932, allocations: 40.88 kB / 0.6529 GB, free: 165 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.7932, allocations: 3.812 kB / 0.6529 GB, free: 165 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.857e-05/0.7932, allocations: 19.92 kB / 0.6529 GB, free: 165 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/0.7966, allocations: 2.825 MB / 0.6557 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.7966, allocations: 0 / 0.6557 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003176/0.7998, allocations: 0.7286 MB / 0.6564 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-05/0.7998, allocations: 16 kB / 0.6564 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/0.8, allocations: 94.8 kB / 0.6565 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.336e-05/0.8, allocations: 12 kB / 0.6565 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8, allocations: 0 / 0.6565 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008024/0.808, allocations: 7.234 MB / 0.6636 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/0.8084, allocations: 326.9 kB / 0.6639 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003806/0.8088, allocations: 84.39 kB / 0.664 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002535/0.8113, allocations: 228 kB / 0.6642 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004962/0.8118, allocations: 314.9 kB / 0.6645 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003379/0.8122, allocations: 175.9 kB / 0.6647 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007286/0.8129, allocations: 0.6863 MB / 0.6653 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.8129, allocations: 0 / 0.6653 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002129/0.815, allocations: 1.093 MB / 0.6664 GB, free: 152.3 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.009402/0.8244, allocations: 8.134 MB / 0.6743 GB, free: 144.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005834/0.8303, allocations: 4.121 MB / 0.6784 GB, free: 140.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.8303, allocations: 5 kB / 0.6784 GB, free: 140.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002586/0.8329, allocations: 2.108 MB / 0.6804 GB, free: 138 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004672/0.8375, allocations: 1.246 MB / 0.6816 GB, free: 136.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02806/0.8656, allocations: 24.67 MB / 0.7057 GB, free: 111.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009237/0.8665, allocations: 1.849 MB / 0.7075 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004306/0.8708, allocations: 1.771 MB / 0.7093 GB, free: 107.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/0.8723, allocations: 0.8858 MB / 0.7101 GB, free: 106.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.041e-06/0.8723, allocations: 0 / 0.7101 GB, free: 106.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1068/0.9791, allocations: 83.87 MB / 0.792 GB, free: 23.28 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.39, allocations: 6.344 kB / 0.792 GB, free: 23.28 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.018033450003713]