Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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.001415/0.001415, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001111/0.001111, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.942/0.942, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1454/0.1454, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T|Tdiff|volume1_1.medium.h|volume1_2.medium.h|volume2_1.medium.h|volume2_2.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T|Tdiff|volume1_1.medium.h|volume1_2.medium.h|volume2_1.medium.h|volume2_2.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.609e-05, allocations: 3.156 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.01445/0.01447, allocations: 21.28 MB / 401.3 MB, free: 1.398 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.03085, allocations: 15.11 MB / 416.4 MB, free: 2.238 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008473/0.0317, allocations: 55.5 kB / 416.5 MB, free: 2.184 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.03273, allocations: 0.5043 MB / 417 MB, free: 1.676 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009487/0.04221, allocations: 4.757 MB / 421.7 MB, free: 12.9 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007346/0.04956, allocations: 3.903 MB / 425.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004553/0.05411, allocations: 5.19 MB / 430.8 MB, free: 3.781 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.05521, allocations: 1.173 MB / 432 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004844/0.06005, allocations: 4.107 MB / 436.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.06164, allocations: 1.515 MB / 437.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.06185, allocations: 192 kB / 437.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008854/0.07071, allocations: 6.056 MB / 443.8 MB, free: 6.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005343/0.07124, allocations: 0.7674 MB / 444.6 MB, free: 5.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007092/0.07195, allocations: 0.8069 MB / 445.4 MB, free: 5.102 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006339/0.07829, allocations: 6.079 MB / 451.5 MB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.07829, allocations: 0 / 451.5 MB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.07829, allocations: 0 / 451.5 MB, free: 15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.07831, allocations: 0 / 451.5 MB, free: 15 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.003105/0.08141, allocations: 2.656 MB / 454.2 MB, free: 12.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.08145, allocations: 12.03 kB / 454.2 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003319/0.08477, allocations: 1.16 MB / 455.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.08589, allocations: 1.007 MB / 456.3 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003417/0.08623, allocations: 0.7012 MB / 457 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.08644, allocations: 184.4 kB / 457.2 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/0.08969, allocations: 3.217 MB / 460.4 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.6e-05/0.08973, allocations: 23.8 kB / 460.5 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.08987, allocations: 83.98 kB / 460.5 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.638e-05/0.08995, allocations: 82.72 kB / 460.6 MB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/0.09212, allocations: 1.406 MB / 462 MB, free: 3.758 MB / 378.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.008618/0.1007, allocations: 14.7 MB / 476.7 MB, free: 4.562 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.1026, allocations: 1.073 MB / 477.8 MB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/0.1029, allocations: 234.4 kB / 478 MB, free: 3.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004179/0.1034, allocations: 204.8 kB / 478.2 MB, free: 3.047 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.1034, allocations: 50.39 kB / 478.3 MB, free: 2.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=101): time 2.324e-06/0.1034, allocations: 4 kB / 478.3 MB, free: 2.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=117): time 0.006002/0.1094, allocations: 3.376 MB / 481.7 MB, free: 15.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.1095, allocations: 175.2 kB / 481.8 MB, free: 15.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008196/0.1103, allocations: 1.185 MB / 483 MB, free: 14.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.078e-05/0.1104, allocations: 45.7 kB / 483.1 MB, free: 14.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005211/0.1109, allocations: 1.051 MB / 484.1 MB, free: 13.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.1111, allocations: 456.3 kB / 484.5 MB, free: 12.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003922/0.1115, allocations: 490 kB / 485 MB, free: 12.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1117, allocations: 0.5276 MB / 485.6 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.112, allocations: 276.3 kB / 485.8 MB, free: 11.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.1132, allocations: 2.18 MB / 488 MB, free: 8.246 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.1151, allocations: 2.589 MB / 490.6 MB, free: 4.848 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.671e-05/0.1151, allocations: 12 kB / 490.6 MB, free: 4.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.00211/0.1172, allocations: 2.015 MB / 492.6 MB, free: 2.797 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.1172, allocations: 24 kB / 492.6 MB, free: 2.773 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/0.1173, allocations: 44 kB / 492.7 MB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005563/0.1178, allocations: 306.8 kB / 493 MB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007762/0.1186, allocations: 0.4952 MB / 493.5 MB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1819/0.3005, allocations: 3.424 MB / 496.9 MB, free: 91.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.302, allocations: 113.8 kB / 497 MB, free: 91.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/0.3022, allocations: 122.1 kB / 497.1 MB, free: 91.67 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume2_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume1_1.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,7), (1,7), (1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005502/0.3027, allocations: 362.3 kB / 497.5 MB, free: 91.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.303, allocations: 186.2 kB / 497.7 MB, free: 91.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/0.3056, allocations: 2.963 MB / 0.4889 GB, free: 91.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/0.3056, allocations: 48.12 kB / 0.4889 GB, free: 91.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3056, allocations: 0 / 0.4889 GB, free: 91.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.3056, allocations: 11.2 kB / 0.489 GB, free: 91.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003951/0.3095, allocations: 3.802 MB / 0.4927 GB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.3096, allocations: 3.75 kB / 0.4927 GB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/0.31, allocations: 204.1 kB / 0.4929 GB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005863/0.3105, allocations: 270.5 kB / 0.4931 GB, free: 90.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.224e-05/0.3106, allocations: 31.19 kB / 0.4932 GB, free: 90.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009271/0.3115, allocations: 3.366 MB / 0.4964 GB, free: 87.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3115, allocations: 5.938 kB / 0.4964 GB, free: 87.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.3136, allocations: 2.128 MB / 0.4985 GB, free: 86.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.3139, allocations: 296.6 kB / 0.4988 GB, free: 86.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.3141, allocations: 71.78 kB / 0.4989 GB, free: 86.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.3144, allocations: 53.89 kB / 0.4989 GB, free: 86.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.3146, allocations: 109.8 kB / 0.499 GB, free: 86.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.963e-05/0.3146, allocations: 36.48 kB / 0.4991 GB, free: 86.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005696/0.3152, allocations: 0.7815 MB / 0.4998 GB, free: 86.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3152, allocations: 1.594 kB / 0.4998 GB, free: 86.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003144/0.3184, allocations: 1.297 MB / 0.5011 GB, free: 86.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,5), (2,5), (2,5), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002387/0.3207, allocations: 1.267 MB / 0.5023 GB, free: 86.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.3221, allocations: 1.277 MB / 0.5036 GB, free: 86.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3221, allocations: 1.5 kB / 0.5036 GB, free: 86.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006235/0.3227, allocations: 0.6407 MB / 0.5042 GB, free: 86.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.3243, allocations: 0.7424 MB / 0.5049 GB, free: 86.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/0.3279, allocations: 3.996 MB / 0.5088 GB, free: 83.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.3282, allocations: 0.4911 MB / 0.5093 GB, free: 82.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008286/0.3291, allocations: 0.7037 MB / 0.51 GB, free: 82.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000844/0.3299, allocations: 0.635 MB / 0.5106 GB, free: 81.72 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.3299, allocations: 4 kB / 0.5106 GB, free: 81.71 MB / 410.7 MB Notification: Performance of Templates: time 0.05808/0.388, allocations: 67.76 MB / 0.5768 GB, free: 17.66 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","",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.560142475645989]