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.00166/0.00166, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002033/0.002033, allocations: 201.2 kB / 24.52 MB, free: 4.156 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 / 258.3 MB, free: 8.027 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.001566/0.001566, allocations: 47.92 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2549, allocations: 53.36 MB / 431.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4384/0.6933, allocations: 155.3 MB / 0.5734 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.6944, allocations: 0.6955 MB / 0.5741 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.1e-05/0.6945, allocations: 3.938 kB / 0.5741 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.6948, allocations: 86.95 kB / 0.5742 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.6954, allocations: 299.5 kB / 0.5745 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.6985, allocations: 1.142 MB / 0.5756 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004943/0.7035, allocations: 5.671 MB / 0.5811 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.7037, allocations: 95.42 kB / 0.5812 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004123/0.7079, allocations: 2.268 MB / 0.5834 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003699/0.7116, allocations: 2.057 MB / 0.5854 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006724/0.7122, allocations: 236.1 kB / 0.5857 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004202/0.7164, allocations: 1.836 MB / 0.5875 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001404/0.7178, allocations: 1.244 MB / 0.5887 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002284/0.7201, allocations: 1.566 MB / 0.5902 GB, free: 9.824 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005552/0.7257, allocations: 4.564 MB / 0.5947 GB, free: 7.617 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7257, allocations: 0 / 0.5947 GB, free: 7.617 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.7257, allocations: 0 / 0.5947 GB, free: 7.617 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.82e-05/0.7258, allocations: 0 / 0.5947 GB, free: 7.617 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.009025/0.7348, allocations: 3.492 MB / 0.5981 GB, free: 5.535 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.7348, allocations: 7.844 kB / 0.5981 GB, free: 5.535 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.764e-05/0.7349, allocations: 63.69 kB / 0.5981 GB, free: 5.527 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005229/0.7354, allocations: 373.7 kB / 0.5985 GB, free: 5.262 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.7372, allocations: 338 kB / 0.5988 GB, free: 4.992 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/0.74, allocations: 1.339 MB / 0.6001 GB, free: 3.633 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.7402, allocations: 181.7 kB / 0.6003 GB, free: 3.453 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004375/0.7406, allocations: 240 kB / 0.6005 GB, free: 3.219 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006668/0.7473, allocations: 3.823 MB / 0.6043 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.073e-05/0.7473, allocations: 0 / 0.6043 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003905/0.7477, allocations: 112 kB / 0.6044 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-05/0.7478, allocations: 60 kB / 0.6044 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009993/0.7578, allocations: 5.99 MB / 0.6103 GB, free: 9.172 MB / 478.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.02312/0.7809, allocations: 11.26 MB / 0.6213 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008461/0.7894, allocations: 4.791 MB / 0.6259 GB, free: 8.383 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004065/0.7934, allocations: 2.248 MB / 0.6281 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005732/0.794, allocations: 131.8 kB / 0.6283 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.7941, allocations: 90.62 kB / 0.6283 GB, free: 5.922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 7.674e-06/0.7941, allocations: 0 / 0.6283 GB, free: 5.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01213/0.8063, allocations: 5.828 MB / 0.634 GB, free: 72 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.8064, allocations: 94.52 kB / 0.6341 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.8078, allocations: 0.8674 MB / 0.635 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006795/0.8085, allocations: 105.7 kB / 0.6351 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.8089, allocations: 0.5305 MB / 0.6356 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001616/0.8105, allocations: 1.369 MB / 0.6369 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001463/0.812, allocations: 0.6333 MB / 0.6375 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.8122, allocations: 353.9 kB / 0.6379 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00325/0.8154, allocations: 1.74 MB / 0.6396 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003629/0.8191, allocations: 2.262 MB / 0.6418 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007231/0.8263, allocations: 4.329 MB / 0.646 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/0.8263, allocations: 4 kB / 0.646 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.009043/0.8353, allocations: 4.603 MB / 0.6505 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.8354, allocations: 8 kB / 0.6505 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.8354, allocations: 12 kB / 0.6505 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.202e-05/0.8355, allocations: 31.94 kB / 0.6506 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003595/0.839, allocations: 0.7888 MB / 0.6513 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.426e-05/0.8391, allocations: 35.88 kB / 0.6514 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.8416, allocations: 369.5 kB / 0.6517 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003763/0.8419, allocations: 151.9 kB / 0.6519 GB, free: 13.42 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.001646/0.8436, allocations: 0.7504 MB / 0.6526 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008229/0.8444, allocations: 230.8 kB / 0.6528 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009693/0.8541, allocations: 5.166 MB / 0.6579 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.625e-05/0.8541, allocations: 44 kB / 0.6579 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.8542, allocations: 0 / 0.6579 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-05/0.8542, allocations: 20.61 kB / 0.6579 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004725/0.8589, allocations: 2.796 MB / 0.6607 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.8589, allocations: 3.938 kB / 0.6607 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003397/0.8623, allocations: 0.7255 MB / 0.6614 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-05/0.8624, allocations: 23.94 kB / 0.6614 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003573/0.8628, allocations: 99.89 kB / 0.6615 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.551e-05/0.8628, allocations: 12 kB / 0.6615 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8628, allocations: 0 / 0.6615 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/0.8746, allocations: 7.224 MB / 0.6686 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006262/0.8753, allocations: 253.8 kB / 0.6688 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004571/0.8757, allocations: 87.83 kB / 0.6689 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002922/0.8786, allocations: 227.7 kB / 0.6691 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000601/0.8792, allocations: 330.7 kB / 0.6694 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004848/0.8797, allocations: 175.9 kB / 0.6696 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009667/0.8807, allocations: 0.6863 MB / 0.6703 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8807, allocations: 0 / 0.6703 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002799/0.8835, allocations: 1.085 MB / 0.6713 GB, free: 9.473 MB / 0.5294 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.01249/0.896, allocations: 8.117 MB / 0.6792 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007111/0.9031, allocations: 4.126 MB / 0.6833 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/0.9031, allocations: 5 kB / 0.6833 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003407/0.9065, allocations: 2.111 MB / 0.6853 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006318/0.9128, allocations: 1.244 MB / 0.6866 GB, free: 9.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04033/0.9532, allocations: 24.67 MB / 0.7106 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/0.9548, allocations: 1.848 MB / 0.7124 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004982/0.9598, allocations: 1.771 MB / 0.7142 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001783/0.9616, allocations: 0.8858 MB / 0.715 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.9616, allocations: 4 kB / 0.715 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.33/1.292, allocations: 86.9 MB / 0.7999 GB, free: 248.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.62/17.92, allocations: 11.47 kB / 0.7999 GB, free: 248.6 MB / 0.6075 GB " [Timeout remaining time 642] (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: 20.774864377977792]