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.001933/0.001933, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.001812/0.001812, allocations: 214.8 kB / 24.49 MB, free: 3.934 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.001604/0.001604, allocations: 55.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2149, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3614/0.5763, allocations: 133.5 MB / 0.5526 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009964/0.5773, allocations: 0.6595 MB / 0.5532 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.319e-05/0.5774, allocations: 5.031 kB / 0.5532 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.5777, allocations: 76.95 kB / 0.5533 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005131/0.5782, allocations: 289.2 kB / 0.5536 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.5805, allocations: 1.143 MB / 0.5547 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003423/0.5839, allocations: 5.671 MB / 0.5602 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.5841, allocations: 94.88 kB / 0.5603 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.5866, allocations: 2.302 MB / 0.5626 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/0.5889, allocations: 2.053 MB / 0.5646 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005449/0.5894, allocations: 238.8 kB / 0.5648 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.5921, allocations: 1.564 MB / 0.5663 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009852/0.5931, allocations: 1.248 MB / 0.5675 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001729/0.5949, allocations: 1.406 MB / 0.5689 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004252/0.5991, allocations: 4.547 MB / 0.5734 GB, free: 15.11 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.5991, allocations: 0 / 0.5734 GB, free: 15.11 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5991, allocations: 0 / 0.5734 GB, free: 15.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.089e-05/0.5992, allocations: 0 / 0.5734 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.009046/0.6082, allocations: 3.486 MB / 0.5768 GB, free: 14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.6082, allocations: 8 kB / 0.5768 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/0.6101, allocations: 340.4 kB / 0.5771 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00331/0.6135, allocations: 1.327 MB / 0.5784 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.6136, allocations: 181 kB / 0.5786 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00039/0.614, allocations: 243.5 kB / 0.5788 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00702/0.621, allocations: 5.947 MB / 0.5846 GB, free: 9.582 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.088e-05/0.621, allocations: 2.625 kB / 0.5846 GB, free: 9.582 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003737/0.6214, allocations: 112.4 kB / 0.5847 GB, free: 9.582 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.6214, allocations: 58.84 kB / 0.5848 GB, free: 9.582 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007885/0.6293, allocations: 5.87 MB / 0.5905 GB, free: 8.027 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.01877/0.6481, allocations: 7.308 MB / 0.5976 GB, free: 3.145 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007357/0.6554, allocations: 4.773 MB / 0.6023 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003573/0.659, allocations: 2.24 MB / 0.6045 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004132/0.6594, allocations: 117.1 kB / 0.6046 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.512e-05/0.6595, allocations: 94.62 kB / 0.6047 GB, free: 11.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 7.043e-06/0.6595, allocations: 4 kB / 0.6047 GB, free: 11.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01023/0.6698, allocations: 5.8 MB / 0.6104 GB, free: 6.078 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.6698, allocations: 94.47 kB / 0.6104 GB, free: 5.973 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008439/0.6707, allocations: 0.6344 MB / 0.6111 GB, free: 5.324 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003609/0.671, allocations: 105.7 kB / 0.6112 GB, free: 5.215 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.6714, allocations: 0.549 MB / 0.6117 GB, free: 4.664 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001231/0.6727, allocations: 1.375 MB / 0.613 GB, free: 3.309 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/0.6737, allocations: 0.6294 MB / 0.6137 GB, free: 2.672 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.6739, allocations: 334 kB / 0.614 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003012/0.6769, allocations: 1.748 MB / 0.6157 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003513/0.6804, allocations: 2.255 MB / 0.6179 GB, free: 14.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007012/0.6874, allocations: 4.328 MB / 0.6221 GB, free: 9.727 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/0.6874, allocations: 8 kB / 0.6221 GB, free: 9.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008135/0.6956, allocations: 4.574 MB / 0.6266 GB, free: 5.184 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.6956, allocations: 12 kB / 0.6266 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/0.6956, allocations: 12 kB / 0.6266 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-05/0.6957, allocations: 24 kB / 0.6266 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004123/0.6998, allocations: 0.7927 MB / 0.6274 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.837e-05/0.6998, allocations: 40.3 kB / 0.6274 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.7022, allocations: 346.7 kB / 0.6278 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003175/0.7026, allocations: 143.9 kB / 0.6279 GB, free: 3.875 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.001475/0.704, allocations: 0.763 MB / 0.6287 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005667/0.7046, allocations: 194.9 kB / 0.6288 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009763/0.7144, allocations: 5.152 MB / 0.6339 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-05/0.7144, allocations: 19.92 kB / 0.6339 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.7144, allocations: 0 / 0.6339 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/0.7148, allocations: 233.8 kB / 0.6341 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003643/0.7151, allocations: 83.94 kB / 0.6342 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002948/0.7181, allocations: 220.5 kB / 0.6344 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000644/0.7187, allocations: 330.8 kB / 0.6347 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008853/0.7276, allocations: 4.573 MB / 0.6392 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01181/0.7394, allocations: 7.411 MB / 0.6464 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003121/0.7425, allocations: 1.959 MB / 0.6483 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006812/0.7432, allocations: 0.4973 MB / 0.6488 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of Backend: time 2.7e-07/0.7432, allocations: 0 / 0.6488 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006415/0.7496, allocations: 2.875 MB / 0.6516 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of SimCode: time 0.007213/0.7568, allocations: 5.036 MB / 0.6566 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of Templates: time 0.0939/0.8507, allocations: 62.56 MB / 0.7176 GB, free: 8.598 MB / 0.5762 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: 6.964843152003596]