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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 111 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00158/0.001579, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2318/0.2318, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 79.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3688, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.07228/0.4411, allocations: 75.44 MB / 0.6053 GB, free: 6.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03878/0.4799, allocations: 33.5 MB / 0.6381 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003064/0.4831, allocations: 47.69 kB / 0.6381 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002953/0.4861, allocations: 1.037 MB / 0.6391 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01468/0.5008, allocations: 5.146 MB / 0.6441 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01745/0.5182, allocations: 6.359 MB / 0.6503 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006882/0.5251, allocations: 5.189 MB / 0.6554 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.5275, allocations: 1.328 MB / 0.6567 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01193/0.5394, allocations: 5.332 MB / 0.6619 GB, free: 11.92 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002765/0.5422, allocations: 1.588 MB / 0.6635 GB, free: 10.32 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0006816/0.5429, allocations: 196 kB / 0.6637 GB, free: 10.13 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01652/0.5594, allocations: 7.223 MB / 0.6707 GB, free: 2.902 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.001331/0.5608, allocations: 0.7286 MB / 0.6714 GB, free: 2.172 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.003457/0.5643, allocations: 1.089 MB / 0.6725 GB, free: 1.078 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.01667/0.581, allocations: 6.703 MB / 0.679 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.581, allocations: 0 / 0.679 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.663e-06/0.581, allocations: 0 / 0.679 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001056/0.5811, allocations: 0 / 0.679 GB, free: 10.36 MB / 0.5294 GB 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.008024/0.5891, allocations: 2.806 MB / 0.6818 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.5892, allocations: 9.469 kB / 0.6818 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006831/0.596, allocations: 0.8104 MB / 0.6826 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/0.5985, allocations: 1.111 MB / 0.6837 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004049/0.5989, allocations: 457 kB / 0.6841 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004099/0.5993, allocations: 176.1 kB / 0.6843 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007583/0.6069, allocations: 3.131 MB / 0.6873 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-05/0.607, allocations: 15.78 kB / 0.6873 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002683/0.6072, allocations: 80 kB / 0.6874 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.743e-05/0.6073, allocations: 82.72 kB / 0.6875 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006843/0.6142, allocations: 2.699 MB / 0.6901 GB, free: 14.57 MB / 0.545 GB 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.01688/0.6311, allocations: 15.73 MB / 0.7055 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004436/0.6356, allocations: 1.395 MB / 0.7068 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.6369, allocations: 0.5347 MB / 0.7074 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/0.6381, allocations: 0.6947 MB / 0.708 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.6381, allocations: 51.56 kB / 0.7081 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=101): time 3.216e-06/0.6381, allocations: 0 / 0.7081 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=117): time 0.0174/0.6555, allocations: 5.224 MB / 0.7132 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/0.6557, allocations: 167.2 kB / 0.7134 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/0.6577, allocations: 1.457 MB / 0.7148 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.6579, allocations: 49.64 kB / 0.7148 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007051/0.6586, allocations: 0.9399 MB / 0.7157 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003904/0.659, allocations: 418.2 kB / 0.7161 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006147/0.6596, allocations: 459.9 kB / 0.7166 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.6597, allocations: 309.1 kB / 0.7169 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.6614, allocations: 0.6759 MB / 0.7175 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2913/0.9527, allocations: 1.925 MB / 0.7194 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005955/0.9587, allocations: 2.777 MB / 0.7221 GB, free: 169 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.135e-05/0.9588, allocations: 11.34 kB / 0.7221 GB, free: 169 MB / 0.5606 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.008234/0.9671, allocations: 2.812 MB / 0.7249 GB, free: 168 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.611e-05/0.9672, allocations: 23.31 kB / 0.7249 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.76e-05/0.9673, allocations: 43.06 kB / 0.7249 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/0.969, allocations: 437.9 kB / 0.7254 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.9708, allocations: 0.5267 MB / 0.7259 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.9726, allocations: 2.74 MB / 0.7286 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.9744, allocations: 138.9 kB / 0.7287 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.9746, allocations: 136.4 kB / 0.7288 GB, free: 165.4 MB / 0.5606 GB 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.0009619/0.9756, allocations: 0.5456 MB / 0.7293 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/0.976, allocations: 173.8 kB / 0.7295 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006661/0.9826, allocations: 4.943 MB / 0.7343 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.9827, allocations: 9.141 kB / 0.7343 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.9827, allocations: 6.016 kB / 0.7344 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007535/0.9834, allocations: 405 kB / 0.7347 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/0.9837, allocations: 67 kB / 0.7348 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.9848, allocations: 140.5 kB / 0.7349 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.985, allocations: 96.56 kB / 0.735 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00468/0.9897, allocations: 2.779 MB / 0.7377 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004836/0.9946, allocations: 3.732 MB / 0.7414 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001481/0.996, allocations: 1.133 MB / 0.7425 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001382/0.9974, allocations: 1.229 MB / 0.7437 GB, free: 158 MB / 0.5606 GB Notification: Performance of Backend: time 3.4e-07/0.9974, allocations: 0 / 0.7437 GB, free: 158 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008527/1.006, allocations: 3.05 MB / 0.7467 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006733/1.013, allocations: 4.88 MB / 0.7514 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.08503/1.098, allocations: 70.94 MB / 0.8207 GB, free: 80.73 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches