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.0008576/0.0008576, allocations: 76.36 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0008846/0.0008846, allocations: 164.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.8639/0.8639, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.222e-06/1.222e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065e-05/1.187e-05, allocations: 7.266 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2882/0.2882, allocations: 133.5 MB / 458 MB, free: 5.402 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009389/0.2891, allocations: 0.6591 MB / 458.7 MB, free: 5.395 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.226e-05/0.2892, allocations: 2.391 kB / 458.7 MB, free: 5.395 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.2896, allocations: 75.31 kB / 458.8 MB, free: 5.395 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004713/0.2901, allocations: 301 kB / 459.1 MB, free: 5.391 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.292, allocations: 1.163 MB / 460.2 MB, free: 5.344 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002806/0.2948, allocations: 5.685 MB / 465.9 MB, free: 5.035 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.295, allocations: 95.69 kB / 466 MB, free: 4.973 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002321/0.2973, allocations: 2.971 MB / 469 MB, free: 4.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.2991, allocations: 2.093 MB / 471.1 MB, free: 4.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003717/0.2994, allocations: 238.6 kB / 471.3 MB, free: 4.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.3013, allocations: 1.532 MB / 472.8 MB, free: 4.668 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007146/0.302, allocations: 1.279 MB / 474.1 MB, free: 4.566 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009387/0.3029, allocations: 1.263 MB / 475.4 MB, free: 4.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.3058, allocations: 4.974 MB / 480.4 MB, free: 4.145 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3059, allocations: 0 / 480.4 MB, free: 4.145 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3059, allocations: 0 / 480.4 MB, free: 4.145 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.699e-05/0.3059, allocations: 2.906 kB / 480.4 MB, free: 4.145 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.004222/0.3101, allocations: 3.458 MB / 483.8 MB, free: 3.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3101, allocations: 15.05 kB / 483.8 MB, free: 3.066 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003424/0.3105, allocations: 370 kB / 484.2 MB, free: 3.016 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000935/0.3114, allocations: 334.9 kB / 484.5 MB, free: 2.895 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.3129, allocations: 1.337 MB / 485.9 MB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.747e-05/0.313, allocations: 182.9 kB / 486 MB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/0.3132, allocations: 242.4 kB / 486.3 MB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003814/0.3171, allocations: 5.94 MB / 492.2 MB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.3171, allocations: 0 / 492.2 MB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002445/0.3173, allocations: 114 kB / 492.3 MB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/0.3174, allocations: 63.92 kB / 492.4 MB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005077/0.3224, allocations: 5.879 MB / 498.3 MB, free: 14.63 MB / 426.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.009385/0.3318, allocations: 7.64 MB / 0.494 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004354/0.3362, allocations: 4.768 MB / 0.4987 GB, free: 7.664 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002148/0.3383, allocations: 2.244 MB / 0.5009 GB, free: 5.414 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/0.3386, allocations: 111 kB / 0.501 GB, free: 5.305 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.831e-05/0.3387, allocations: 94.62 kB / 0.5011 GB, free: 5.203 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 4.258e-06/0.3387, allocations: 0 / 0.5011 GB, free: 5.203 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.006053/0.3447, allocations: 5.828 MB / 0.5068 GB, free: 15.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.3448, allocations: 90.47 kB / 0.5069 GB, free: 15.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007015/0.3455, allocations: 0.8867 MB / 0.5077 GB, free: 14.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003416/0.3458, allocations: 105.7 kB / 0.5078 GB, free: 14.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.3461, allocations: 0.5229 MB / 0.5083 GB, free: 13.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006377/0.3467, allocations: 1.363 MB / 0.5097 GB, free: 12.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006281/0.3473, allocations: 0.6216 MB / 0.5103 GB, free: 11.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.3474, allocations: 359.3 kB / 0.5106 GB, free: 11.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.3492, allocations: 1.745 MB / 0.5123 GB, free: 9.641 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/0.3512, allocations: 2.266 MB / 0.5145 GB, free: 7.227 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004097/0.3553, allocations: 4.325 MB / 0.5188 GB, free: 2.77 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.3553, allocations: 4 kB / 0.5188 GB, free: 2.766 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.004662/0.3599, allocations: 4.596 MB / 0.5233 GB, free: 14.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.3599, allocations: 12.16 kB / 0.5233 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.36, allocations: 15.19 kB / 0.5233 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.36, allocations: 31.98 kB / 0.5233 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.3617, allocations: 0.7915 MB / 0.5241 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.411e-05/0.3617, allocations: 31.09 kB / 0.5241 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.3628, allocations: 369.5 kB / 0.5245 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/0.363, allocations: 143.9 kB / 0.5246 GB, free: 12.88 MB / 458.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.0008264/0.3638, allocations: 0.7619 MB / 0.5254 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00032/0.3642, allocations: 227.6 kB / 0.5256 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005337/0.3695, allocations: 5.162 MB / 0.5306 GB, free: 6.734 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.3695, allocations: 48 kB / 0.5307 GB, free: 6.688 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.3695, allocations: 3.938 kB / 0.5307 GB, free: 6.684 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/0.3695, allocations: 23.86 kB / 0.5307 GB, free: 6.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/0.372, allocations: 2.468 MB / 0.5331 GB, free: 4.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.372, allocations: 0 / 0.5331 GB, free: 4.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/0.3737, allocations: 0.7281 MB / 0.5338 GB, free: 3.562 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.3737, allocations: 16 kB / 0.5338 GB, free: 3.547 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/0.3738, allocations: 83.97 kB / 0.5339 GB, free: 3.465 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.3739, allocations: 19.98 kB / 0.5339 GB, free: 3.445 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3739, allocations: 6.188 kB / 0.5339 GB, free: 3.441 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006816/0.3807, allocations: 7.231 MB / 0.541 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.3809, allocations: 249.8 kB / 0.5412 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.3811, allocations: 87.06 kB / 0.5413 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.3824, allocations: 219.8 kB / 0.5415 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003592/0.3827, allocations: 334.8 kB / 0.5418 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002313/0.383, allocations: 187.8 kB / 0.542 GB, free: 11.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005363/0.3835, allocations: 0.6746 MB / 0.5427 GB, free: 10.44 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3835, allocations: 0 / 0.5427 GB, free: 10.44 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001655/0.3852, allocations: 1.101 MB / 0.5437 GB, free: 9.34 MB / 474.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.007497/0.3927, allocations: 8.128 MB / 0.5517 GB, free: 1.219 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004079/0.3967, allocations: 4.116 MB / 0.5557 GB, free: 13.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.3967, allocations: 5.812 kB / 0.5557 GB, free: 13.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.3988, allocations: 2.118 MB / 0.5578 GB, free: 11.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/0.4016, allocations: 1.252 MB / 0.559 GB, free: 9.867 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/0.4254, allocations: 24.48 MB / 0.5829 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007957/0.4262, allocations: 1.269 MB / 0.5841 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003096/0.4293, allocations: 1.764 MB / 0.5859 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/0.4304, allocations: 0.8869 MB / 0.5867 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of SimCode: time 1.082e-06/0.4304, allocations: 4 kB / 0.5867 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2222/0.6526, allocations: 89.04 MB / 0.6737 GB, free: 257.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.22/9.872, allocations: 10.97 kB / 0.6737 GB, free: 257.4 MB / 0.5573 GB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/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: 11.665701927617192]