Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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.0008307/0.0008307, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 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.0009457/0.0009457, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8362/0.8362, allocations: 158.6 MB / 186 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1405/0.1405, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.661e-05, allocations: 10.19 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.166/0.166, allocations: 21.2 MB / 320.3 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.1832, allocations: 15.38 MB / 335.7 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009019/0.1841, allocations: 55.5 kB / 335.7 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009054/0.185, allocations: 0.5082 MB / 336.2 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009898/0.1949, allocations: 4.746 MB / 341 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007128/0.202, allocations: 3.945 MB / 344.9 MB, free: 364 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004032/0.206, allocations: 5.176 MB / 350.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009807/0.207, allocations: 1.203 MB / 351.3 MB, free: 9.926 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004767/0.2118, allocations: 4.099 MB / 355.4 MB, free: 5.797 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.2132, allocations: 1.434 MB / 356.8 MB, free: 4.359 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.2135, allocations: 196 kB / 357 MB, free: 4.168 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008462/0.2219, allocations: 6.031 MB / 363 MB, free: 14.13 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005662/0.2225, allocations: 0.7751 MB / 363.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007466/0.2232, allocations: 0.8031 MB / 364.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007632/0.2309, allocations: 6.087 MB / 370.7 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2309, allocations: 0 / 370.7 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2309, allocations: 0 / 370.7 MB, free: 6.449 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.2309, allocations: 0 / 370.7 MB, free: 6.449 MB / 330.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.002968/0.2339, allocations: 2.451 MB / 373.2 MB, free: 3.961 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2339, allocations: 12.03 kB / 373.2 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003111/0.237, allocations: 1.274 MB / 374.4 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.238, allocations: 0.8469 MB / 375.3 MB, free: 1.793 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002931/0.2383, allocations: 0.7012 MB / 376 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.2385, allocations: 184.4 kB / 376.2 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003285/0.2418, allocations: 3.161 MB / 379.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.529e-05/0.2418, allocations: 15.81 kB / 379.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.2419, allocations: 83.98 kB / 379.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.749e-05/0.242, allocations: 92.02 kB / 379.5 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.2439, allocations: 1.329 MB / 380.9 MB, free: 11.66 MB / 346.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.007636/0.2515, allocations: 10.42 MB / 391.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.2532, allocations: 1.059 MB / 392.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.2534, allocations: 203.7 kB / 392.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06626/0.3197, allocations: 38.94 MB / 431.5 MB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.906e-05/0.3197, allocations: 51.5 kB / 431.5 MB, free: 8.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=101): time 3.476e-06/0.3197, allocations: 0 / 431.5 MB, free: 8.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=117): time 0.00677/0.3265, allocations: 3.316 MB / 434.8 MB, free: 5.168 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.3266, allocations: 171.2 kB / 435 MB, free: 4.965 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008527/0.3274, allocations: 1.095 MB / 436.1 MB, free: 3.859 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/0.3275, allocations: 45.7 kB / 436.1 MB, free: 3.809 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/0.3279, allocations: 0.8941 MB / 437 MB, free: 2.898 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.3281, allocations: 436.4 kB / 437.5 MB, free: 2.469 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/0.3284, allocations: 443.9 kB / 437.9 MB, free: 2.027 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3285, allocations: 361.8 kB / 438.2 MB, free: 1.668 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.3288, allocations: 264.3 kB / 438.5 MB, free: 1.406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008727/0.3297, allocations: 1.643 MB / 440.1 MB, free: 15.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.3313, allocations: 2.039 MB / 442.2 MB, free: 12.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.3313, allocations: 12.75 kB / 442.2 MB, free: 12.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.001528/0.3329, allocations: 1.674 MB / 443.9 MB, free: 10.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.3329, allocations: 27.94 kB / 443.9 MB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/0.3329, allocations: 44 kB / 443.9 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005034/0.3334, allocations: 286.6 kB / 444.2 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007372/0.3342, allocations: 491.1 kB / 444.7 MB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009911/0.3352, allocations: 2.356 MB / 447.1 MB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/0.3359, allocations: 116 kB / 447.2 MB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.336, allocations: 115.9 kB / 447.3 MB, free: 7.242 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.0005956/0.3366, allocations: 319.8 kB / 447.6 MB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.3367, allocations: 127.9 kB / 447.7 MB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.3388, allocations: 2.74 MB / 450.5 MB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-05/0.3389, allocations: 47.94 kB / 450.5 MB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3389, allocations: 4 kB / 450.5 MB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.3389, allocations: 7.969 kB / 450.5 MB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/0.3418, allocations: 3.345 MB / 453.9 MB, free: 496 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3419, allocations: 4 kB / 453.9 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.3422, allocations: 200 kB / 454.1 MB, free: 292 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005121/0.3427, allocations: 258.4 kB / 454.3 MB, free: 16 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.1538/0.4965, allocations: 23.05 kB / 454.3 MB, free: 113.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009812/0.4975, allocations: 2.3 MB / 456.6 MB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4975, allocations: 2.922 kB / 456.6 MB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.4999, allocations: 1.829 MB / 458.5 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004421/0.5003, allocations: 231.3 kB / 458.7 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.5005, allocations: 77.95 kB / 458.8 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.5008, allocations: 57.86 kB / 458.8 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.501, allocations: 103.2 kB / 458.9 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/0.501, allocations: 32.53 kB / 459 MB, free: 111.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005946/0.5016, allocations: 0.6101 MB / 459.6 MB, free: 111.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5016, allocations: 2.875 kB / 459.6 MB, free: 111.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003234/0.5049, allocations: 1.288 MB / 460.9 MB, free: 111.1 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.002641/0.5075, allocations: 1.324 MB / 462.2 MB, free: 111.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.5091, allocations: 1.207 MB / 463.4 MB, free: 111 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-05/0.5092, allocations: 32.69 kB / 463.4 MB, free: 111 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008406/0.51, allocations: 0.5933 MB / 464 MB, free: 111 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.5117, allocations: 0.7465 MB / 464.8 MB, free: 110.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.5152, allocations: 3.885 MB / 468.7 MB, free: 109.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.5154, allocations: 492 kB / 469.1 MB, free: 109.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007565/0.5162, allocations: 0.7165 MB / 469.8 MB, free: 109.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007568/0.517, allocations: 0.5338 MB / 470.4 MB, free: 109.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.517, allocations: 0 / 470.4 MB, free: 109.1 MB / 410.7 MB Notification: Performance of Templates: time 0.06485/0.5818, allocations: 65.98 MB / 0.5238 GB, free: 50.7 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 5.165274803992361]