Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001297/0.001297, allocations: 112.2 kB / 18.49 MB, free: 4.539 MB / 14.72 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.001445/0.001445, allocations: 219 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Examples_PsychrometricData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_PsychrometricData",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 43.94 kB / 373.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1017, allocations: 53.34 MB / 427 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3778/0.4795, allocations: 155.2 MB / 0.5686 GB, free: 5.223 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.481, allocations: 0.6994 MB / 0.5693 GB, free: 4.523 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.4812, allocations: 3.938 kB / 0.5693 GB, free: 4.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004442/0.4816, allocations: 75.48 kB / 0.5693 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007719/0.4824, allocations: 302.6 kB / 0.5696 GB, free: 4.148 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003492/0.4859, allocations: 1.116 MB / 0.5707 GB, free: 3.039 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005476/0.4914, allocations: 5.608 MB / 0.5762 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.4917, allocations: 188 kB / 0.5764 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003752/0.4955, allocations: 2.257 MB / 0.5786 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003635/0.4991, allocations: 2.053 MB / 0.5806 GB, free: 8.887 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.5002, allocations: 236 kB / 0.5808 GB, free: 8.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004826/0.505, allocations: 1.817 MB / 0.5826 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002187/0.5072, allocations: 1.224 MB / 0.5838 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003514/0.5107, allocations: 1.561 MB / 0.5853 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007791/0.5185, allocations: 4.576 MB / 0.5898 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.5185, allocations: 0 / 0.5898 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5185, allocations: 0 / 0.5898 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001566/0.5187, allocations: 0 / 0.5898 GB, free: 15.45 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.01144/0.5301, allocations: 3.557 MB / 0.5932 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.5302, allocations: 8.031 kB / 0.5932 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.638e-05/0.5302, allocations: 69.06 kB / 0.5933 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001158/0.5314, allocations: 370 kB / 0.5937 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/0.5339, allocations: 339.2 kB / 0.594 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/0.5373, allocations: 1.335 MB / 0.5953 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.5375, allocations: 184.9 kB / 0.5955 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006256/0.5381, allocations: 248 kB / 0.5957 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007245/0.5453, allocations: 3.819 MB / 0.5994 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.098e-05/0.5454, allocations: 0 / 0.5994 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003704/0.5458, allocations: 116 kB / 0.5995 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.247e-05/0.5458, allocations: 56 kB / 0.5996 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009356/0.5552, allocations: 5.99 MB / 0.6054 GB, free: 15.2 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.02097/0.5761, allocations: 11.23 MB / 0.6164 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1961/0.7722, allocations: 4.783 MB / 0.6211 GB, free: 177.1 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003715/0.7759, allocations: 2.24 MB / 0.6233 GB, free: 176.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005672/0.7765, allocations: 437.8 kB / 0.6237 GB, free: 176.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.025e-05/0.7766, allocations: 91.16 kB / 0.6238 GB, free: 176.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=390): time 5.721e-06/0.7766, allocations: 0 / 0.6238 GB, free: 176.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=390): time 0.009962/0.7865, allocations: 5.83 MB / 0.6295 GB, free: 175 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.7866, allocations: 95.62 kB / 0.6296 GB, free: 174.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.7877, allocations: 0.8754 MB / 0.6304 GB, free: 174.6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004807/0.7882, allocations: 101.2 kB / 0.6305 GB, free: 174.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.7885, allocations: 0.5279 MB / 0.631 GB, free: 174.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.7895, allocations: 1.369 MB / 0.6324 GB, free: 173.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008855/0.7904, allocations: 0.6254 MB / 0.633 GB, free: 173 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.985e-05/0.7905, allocations: 356.5 kB / 0.6333 GB, free: 172.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002679/0.7932, allocations: 1.746 MB / 0.635 GB, free: 172.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003161/0.7963, allocations: 2.257 MB / 0.6372 GB, free: 171.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006231/0.8026, allocations: 4.331 MB / 0.6415 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.798e-05/0.8026, allocations: 3.219 kB / 0.6415 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007202/0.8098, allocations: 4.603 MB / 0.6459 GB, free: 168.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.8098, allocations: 14.48 kB / 0.646 GB, free: 168.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.8098, allocations: 11.53 kB / 0.646 GB, free: 168.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.001e-05/0.8099, allocations: 27.5 kB / 0.646 GB, free: 168.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003396/0.8133, allocations: 0.7948 MB / 0.6468 GB, free: 168.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.709e-05/0.8133, allocations: 34.77 kB / 0.6468 GB, free: 168.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/0.8156, allocations: 368.5 kB / 0.6472 GB, free: 168 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003125/0.8159, allocations: 145.7 kB / 0.6473 GB, free: 168 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.001292/0.8172, allocations: 0.7645 MB / 0.648 GB, free: 167.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000568/0.8178, allocations: 216.7 kB / 0.6483 GB, free: 167.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00748/0.8253, allocations: 5.178 MB / 0.6533 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/0.8253, allocations: 41.53 kB / 0.6533 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.8253, allocations: 0.8125 kB / 0.6534 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.478e-05/0.8253, allocations: 19.92 kB / 0.6534 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003642/0.829, allocations: 2.829 MB / 0.6561 GB, free: 162.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.829, allocations: 0 / 0.6561 GB, free: 162.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0031/0.8321, allocations: 0.7252 MB / 0.6568 GB, free: 162 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.588e-05/0.8321, allocations: 20.59 kB / 0.6569 GB, free: 162 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002976/0.8324, allocations: 91.95 kB / 0.6569 GB, free: 161.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/0.8324, allocations: 12 kB / 0.657 GB, free: 161.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8324, allocations: 0 / 0.657 GB, free: 161.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008397/0.8408, allocations: 7.234 MB / 0.664 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/0.8413, allocations: 322.9 kB / 0.6643 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000305/0.8416, allocations: 87.88 kB / 0.6644 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002637/0.8443, allocations: 221.5 kB / 0.6646 GB, free: 154 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005005/0.8448, allocations: 318.5 kB / 0.6649 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002956/0.8451, allocations: 179.9 kB / 0.6651 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006474/0.8457, allocations: 0.6824 MB / 0.6658 GB, free: 152.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8457, allocations: 0 / 0.6658 GB, free: 152.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002049/0.8478, allocations: 1.093 MB / 0.6668 GB, free: 151.7 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.008938/0.8567, allocations: 8.123 MB / 0.6748 GB, free: 143.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005478/0.8622, allocations: 4.123 MB / 0.6788 GB, free: 139.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.8622, allocations: 5 kB / 0.6788 GB, free: 139.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002488/0.8647, allocations: 2.103 MB / 0.6809 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005157/0.8698, allocations: 1.252 MB / 0.6821 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02816/0.898, allocations: 24.66 MB / 0.7062 GB, free: 110.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008664/0.8989, allocations: 1.853 MB / 0.708 GB, free: 109 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003759/0.9026, allocations: 1.768 MB / 0.7097 GB, free: 107.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/0.904, allocations: 0.8858 MB / 0.7106 GB, free: 106.4 MB / 0.5137 GB Notification: Performance of SimCode: time 7.52e-07/0.904, allocations: 0 / 0.7106 GB, free: 106.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1027/1.007, allocations: 83.88 MB / 0.7925 GB, free: 22.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.45, allocations: 19.92 kB / 0.7925 GB, free: 22.77 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.243410914961714]