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.001588/0.001588, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001797/0.001797, allocations: 215.5 kB / 24.48 MB, free: 3.957 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.524/1.524, allocations: 230.6 MB / 258.2 MB, free: 7.801 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: translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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.|x",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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.|x",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 43.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2871, allocations: 53.36 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4866/0.7736, allocations: 133.5 MB / 0.5526 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.7748, allocations: 0.6634 MB / 0.5532 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.7749, allocations: 2.938 kB / 0.5532 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.7753, allocations: 72.8 kB / 0.5533 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006455/0.776, allocations: 296.2 kB / 0.5536 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.7791, allocations: 1.143 MB / 0.5547 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004552/0.7837, allocations: 5.67 MB / 0.5602 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003132/0.784, allocations: 94.88 kB / 0.5603 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004396/0.7884, allocations: 2.306 MB / 0.5626 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004626/0.793, allocations: 2.047 MB / 0.5646 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.7942, allocations: 238.6 kB / 0.5648 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005207/0.7994, allocations: 1.565 MB / 0.5663 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002141/0.8016, allocations: 1.243 MB / 0.5675 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004583/0.8062, allocations: 1.41 MB / 0.5689 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008231/0.8144, allocations: 4.546 MB / 0.5733 GB, free: 15.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.8144, allocations: 0 / 0.5733 GB, free: 15.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.8144, allocations: 0 / 0.5733 GB, free: 15.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001724/0.8146, allocations: 3.938 kB / 0.5734 GB, free: 15.09 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.01249/0.8271, allocations: 3.486 MB / 0.5768 GB, free: 13.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.8271, allocations: 10.56 kB / 0.5768 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002376/0.8295, allocations: 338.3 kB / 0.5771 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004317/0.8338, allocations: 1.33 MB / 0.5784 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.834, allocations: 179.5 kB / 0.5786 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007966/0.8348, allocations: 243.4 kB / 0.5788 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.8448, allocations: 5.943 MB / 0.5846 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.799e-05/0.8449, allocations: 4 kB / 0.5846 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006432/0.8455, allocations: 116.5 kB / 0.5847 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.213e-05/0.8455, allocations: 55.72 kB / 0.5848 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.8558, allocations: 5.876 MB / 0.5905 GB, free: 8.051 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.02443/0.8803, allocations: 7.309 MB / 0.5976 GB, free: 3.152 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008482/0.8888, allocations: 4.775 MB / 0.6023 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004259/0.893, allocations: 2.236 MB / 0.6045 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005536/0.8936, allocations: 113.3 kB / 0.6046 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.8937, allocations: 98.62 kB / 0.6047 GB, free: 11.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.242e-06/0.8937, allocations: 0 / 0.6047 GB, free: 11.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01152/0.9052, allocations: 5.8 MB / 0.6104 GB, free: 6.086 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.9053, allocations: 90.47 kB / 0.6104 GB, free: 5.984 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009566/0.9063, allocations: 0.6383 MB / 0.6111 GB, free: 5.332 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005224/0.9068, allocations: 105.7 kB / 0.6112 GB, free: 5.223 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/0.9072, allocations: 0.5486 MB / 0.6117 GB, free: 4.668 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00146/0.9087, allocations: 1.373 MB / 0.613 GB, free: 3.316 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/0.9097, allocations: 0.6294 MB / 0.6137 GB, free: 2.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.9099, allocations: 340.1 kB / 0.614 GB, free: 2.344 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003004/0.9129, allocations: 1.736 MB / 0.6157 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003469/0.9164, allocations: 2.262 MB / 0.6179 GB, free: 14.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007046/0.9234, allocations: 4.332 MB / 0.6221 GB, free: 9.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/0.9234, allocations: 0 / 0.6221 GB, free: 9.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008289/0.9317, allocations: 4.578 MB / 0.6266 GB, free: 5.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.504e-05/0.9317, allocations: 8 kB / 0.6266 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.9318, allocations: 12 kB / 0.6266 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.609e-05/0.9318, allocations: 28 kB / 0.6266 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004056/0.9359, allocations: 0.7962 MB / 0.6274 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.308e-05/0.9359, allocations: 36.56 kB / 0.6274 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/0.9386, allocations: 345.8 kB / 0.6278 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003759/0.939, allocations: 143.9 kB / 0.6279 GB, free: 3.883 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.001871/0.9409, allocations: 0.7611 MB / 0.6287 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000715/0.9416, allocations: 206.8 kB / 0.6288 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009629/0.9512, allocations: 5.147 MB / 0.6339 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.814e-05/0.9512, allocations: 40 kB / 0.6339 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.9513, allocations: 7.875 kB / 0.6339 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.223e-05/0.9513, allocations: 23.92 kB / 0.6339 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004759/0.9561, allocations: 2.204 MB / 0.6361 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.9561, allocations: 0 / 0.6361 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004028/0.9601, allocations: 0.7308 MB / 0.6368 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.353e-05/0.9602, allocations: 16 kB / 0.6368 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004247/0.9606, allocations: 87.95 kB / 0.6369 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-05/0.9606, allocations: 16.62 kB / 0.6369 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.9606, allocations: 0 / 0.6369 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/0.9732, allocations: 7.206 MB / 0.644 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006866/0.9738, allocations: 233.9 kB / 0.6442 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004649/0.9743, allocations: 79.89 kB / 0.6443 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002877/0.9772, allocations: 231.7 kB / 0.6445 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006048/0.9778, allocations: 326.8 kB / 0.6448 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004188/0.9782, allocations: 183.8 kB / 0.645 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007226/0.9789, allocations: 0.4987 MB / 0.6455 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.9789, allocations: 4 kB / 0.6455 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002881/0.9818, allocations: 1.112 MB / 0.6465 GB, free: 0.8672 MB / 0.4981 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.001151/0.983, allocations: 441.9 kB / 0.647 GB, free: 496 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007354/0.9903, allocations: 4.117 MB / 0.651 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/0.9903, allocations: 5 kB / 0.651 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003488/0.9938, allocations: 2.11 MB / 0.6531 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004867/0.9987, allocations: 1.04 MB / 0.6541 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/1.012, allocations: 6.768 MB / 0.6607 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/1.013, allocations: 1.267 MB / 0.6619 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001838/1.015, allocations: 319.3 kB / 0.6622 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of SimCode: time 1.233e-06/1.015, allocations: 4 kB / 0.6622 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of Templates: time 0.07363/1.089, allocations: 45.56 MB / 0.7067 GB, free: 3.508 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] 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: 11.507460416993126]