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.00128/0.00128, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001417/0.001417, allocations: 211.9 kB / 23.73 MB, free: 4.164 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.407/1.407, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.001902/0.001902, allocations: 59.89 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2241, allocations: 53.41 MB / 431.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4102/0.6343, allocations: 133.5 MB / 0.5514 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.6355, allocations: 0.6538 MB / 0.5521 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.6356, allocations: 3.969 kB / 0.5521 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004002/0.636, allocations: 74.52 kB / 0.5521 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000657/0.6367, allocations: 292 kB / 0.5524 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.6396, allocations: 1.141 MB / 0.5535 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004377/0.644, allocations: 5.654 MB / 0.559 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.6443, allocations: 88.5 kB / 0.5591 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004114/0.6484, allocations: 2.301 MB / 0.5614 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004515/0.6529, allocations: 2.221 MB / 0.5635 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001197/0.6541, allocations: 238.3 kB / 0.5638 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004963/0.6591, allocations: 1.526 MB / 0.5653 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002064/0.6611, allocations: 1.244 MB / 0.5665 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003709/0.6648, allocations: 1.404 MB / 0.5678 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007877/0.6727, allocations: 4.544 MB / 0.5723 GB, free: 15.11 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.6727, allocations: 0 / 0.5723 GB, free: 15.11 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.6727, allocations: 0 / 0.5723 GB, free: 15.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001984/0.6729, allocations: 1.406 kB / 0.5723 GB, free: 15.11 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.01185/0.6848, allocations: 3.489 MB / 0.5757 GB, free: 13.94 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/0.6848, allocations: 15.17 kB / 0.5757 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001249/0.6861, allocations: 373.9 kB / 0.5761 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/0.6887, allocations: 332.5 kB / 0.5764 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003928/0.6926, allocations: 1.34 MB / 0.5777 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.6928, allocations: 184.1 kB / 0.5779 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009127/0.6937, allocations: 241.5 kB / 0.5781 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.7038, allocations: 5.942 MB / 0.5839 GB, free: 9.406 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.471e-05/0.7039, allocations: 0 / 0.5839 GB, free: 9.406 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008131/0.7047, allocations: 112.2 kB / 0.584 GB, free: 9.406 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.122e-05/0.7047, allocations: 58.75 kB / 0.5841 GB, free: 9.406 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.7153, allocations: 5.877 MB / 0.5898 GB, free: 7.664 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.02287/0.7382, allocations: 7.644 MB / 0.5973 GB, free: 2.133 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008672/0.7469, allocations: 4.775 MB / 0.6019 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004372/0.7512, allocations: 2.243 MB / 0.6041 GB, free: 11.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006046/0.7518, allocations: 111 kB / 0.6042 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.752, allocations: 96.97 kB / 0.6043 GB, free: 10.89 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.533e-06/0.752, allocations: 0 / 0.6043 GB, free: 10.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01264/0.7646, allocations: 5.817 MB / 0.61 GB, free: 5.047 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/0.7647, allocations: 104.8 kB / 0.6101 GB, free: 4.934 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.766, allocations: 0.8907 MB / 0.611 GB, free: 4.031 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007849/0.7668, allocations: 101.7 kB / 0.6111 GB, free: 3.926 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004679/0.7673, allocations: 0.5225 MB / 0.6116 GB, free: 3.398 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001832/0.7691, allocations: 1.37 MB / 0.6129 GB, free: 2.047 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/0.7703, allocations: 0.6333 MB / 0.6135 GB, free: 1.406 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.7705, allocations: 349.9 kB / 0.6139 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003512/0.774, allocations: 1.748 MB / 0.6156 GB, free: 15.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003921/0.7779, allocations: 2.258 MB / 0.6178 GB, free: 12.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007747/0.7857, allocations: 4.332 MB / 0.622 GB, free: 8.438 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.875e-05/0.7857, allocations: 4 kB / 0.622 GB, free: 8.434 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.009855/0.7956, allocations: 4.59 MB / 0.6265 GB, free: 3.883 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.7956, allocations: 13 kB / 0.6265 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/0.7956, allocations: 12 kB / 0.6265 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.74e-05/0.7957, allocations: 31.94 kB / 0.6265 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004198/0.7999, allocations: 0.7919 MB / 0.6273 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.83e-05/0.7999, allocations: 36.67 kB / 0.6274 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/0.8029, allocations: 365.5 kB / 0.6277 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006925/0.8036, allocations: 143.9 kB / 0.6278 GB, free: 2.551 MB / 494.1 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.002086/0.8056, allocations: 0.765 MB / 0.6286 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008469/0.8065, allocations: 218.8 kB / 0.6288 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/0.8173, allocations: 5.178 MB / 0.6339 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.105e-05/0.8174, allocations: 47.88 kB / 0.6339 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.8174, allocations: 4 kB / 0.6339 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.967e-05/0.8175, allocations: 19.92 kB / 0.6339 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005463/0.8229, allocations: 2.46 MB / 0.6363 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.823, allocations: 1.125 kB / 0.6363 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003737/0.8267, allocations: 0.7268 MB / 0.637 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.975e-05/0.8267, allocations: 16 kB / 0.637 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003745/0.8271, allocations: 91.95 kB / 0.6371 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.136e-05/0.8271, allocations: 15.94 kB / 0.6372 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.8271, allocations: 0 / 0.6372 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/0.8406, allocations: 7.233 MB / 0.6442 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000807/0.8414, allocations: 249.8 kB / 0.6445 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009058/0.8423, allocations: 84.75 kB / 0.6445 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0034/0.8457, allocations: 231.7 kB / 0.6448 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009575/0.8467, allocations: 318.8 kB / 0.6451 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006141/0.8473, allocations: 183.9 kB / 0.6452 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00109/0.8484, allocations: 0.6785 MB / 0.6459 GB, free: 116 kB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.8484, allocations: 0 / 0.6459 GB, free: 116 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004043/0.8524, allocations: 1.093 MB / 0.647 GB, free: 15.02 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.01417/0.8666, allocations: 8.127 MB / 0.6549 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008028/0.8746, allocations: 4.113 MB / 0.6589 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/0.8746, allocations: 9 kB / 0.6589 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003774/0.8784, allocations: 2.11 MB / 0.661 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006283/0.8847, allocations: 1.248 MB / 0.6622 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04691/0.9316, allocations: 24.65 MB / 0.6863 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.933, allocations: 1.26 MB / 0.6875 GB, free: 5.035 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005487/0.9385, allocations: 1.775 MB / 0.6892 GB, free: 3.254 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/0.9404, allocations: 0.8898 MB / 0.6901 GB, free: 2.363 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/0.9404, allocations: 0 / 0.6901 GB, free: 2.363 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.352/1.292, allocations: 89.43 MB / 0.7774 GB, free: 291.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/16.06, allocations: 4.219 kB / 0.7775 GB, free: 291.8 MB / 0.6231 GB " [Timeout remaining time 644] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 18.63490675529465]