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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 111.3 kB / 17.09 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001444, allocations: 199.3 kB / 18.02 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1991/0.1991, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 67.91 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1036, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2847/0.3884, allocations: 75.18 MB / 0.562 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03489/0.4233, allocations: 33.48 MB / 0.5947 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.4253, allocations: 42.34 kB / 0.5947 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0028/0.4282, allocations: 1.039 MB / 0.5957 GB, free: 9.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01301/0.4412, allocations: 5.085 MB / 0.6007 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0162/0.4574, allocations: 6.33 MB / 0.6069 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006149/0.4636, allocations: 5.168 MB / 0.6119 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/0.4657, allocations: 1.326 MB / 0.6132 GB, free: 11 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01039/0.4761, allocations: 5.313 MB / 0.6184 GB, free: 5.633 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002761/0.4788, allocations: 1.588 MB / 0.62 GB, free: 4.039 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000638/0.4795, allocations: 196 kB / 0.6201 GB, free: 3.848 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01447/0.494, allocations: 7.215 MB / 0.6272 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009061/0.4949, allocations: 0.7286 MB / 0.6279 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.4964, allocations: 1.089 MB / 0.629 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.5086, allocations: 6.688 MB / 0.6355 GB, free: 4.098 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5086, allocations: 0 / 0.6355 GB, free: 4.098 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5086, allocations: 0 / 0.6355 GB, free: 4.098 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.688e-05/0.5087, allocations: 3.938 kB / 0.6355 GB, free: 4.094 MB / 478.1 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.006083/0.5148, allocations: 2.794 MB / 0.6382 GB, free: 1.242 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.5149, allocations: 8.031 kB / 0.6382 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006211/0.5211, allocations: 0.822 MB / 0.639 GB, free: 420 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.5228, allocations: 1.104 MB / 0.6401 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/0.5232, allocations: 457 kB / 0.6405 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.5235, allocations: 172.4 kB / 0.6407 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006272/0.5297, allocations: 3.131 MB / 0.6438 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/0.5298, allocations: 7.938 kB / 0.6438 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/0.53, allocations: 83.97 kB / 0.6439 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.97e-05/0.5301, allocations: 86.66 kB / 0.6439 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006396/0.5365, allocations: 2.7 MB / 0.6466 GB, free: 8.309 MB / 494.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.0158/0.5523, allocations: 15.73 MB / 0.6619 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004222/0.5566, allocations: 1.383 MB / 0.6633 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.5578, allocations: 0.5425 MB / 0.6638 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/0.559, allocations: 0.6869 MB / 0.6645 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.786e-05/0.5591, allocations: 55.5 kB / 0.6645 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=101): time 3.266e-06/0.5591, allocations: 0 / 0.6645 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=117): time 0.01623/0.5754, allocations: 5.235 MB / 0.6696 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.5754, allocations: 167.2 kB / 0.6698 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.5773, allocations: 1.461 MB / 0.6712 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.5774, allocations: 49.7 kB / 0.6713 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006338/0.578, allocations: 0.9244 MB / 0.6722 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.5784, allocations: 426.2 kB / 0.6726 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005481/0.5789, allocations: 455.9 kB / 0.673 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.579, allocations: 309.1 kB / 0.6733 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.5806, allocations: 0.6798 MB / 0.674 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/0.5832, allocations: 1.922 MB / 0.6759 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004228/0.5874, allocations: 2.778 MB / 0.6786 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-05/0.5875, allocations: 12 kB / 0.6786 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005546/0.593, allocations: 2.812 MB / 0.6813 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.5931, allocations: 24 kB / 0.6814 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.626e-05/0.5931, allocations: 44 kB / 0.6814 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.5945, allocations: 443.2 kB / 0.6818 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.5962, allocations: 0.5225 MB / 0.6823 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/0.5985, allocations: 2.748 MB / 0.685 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.6001, allocations: 144 kB / 0.6852 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/0.6003, allocations: 140 kB / 0.6853 GB, free: 13.94 MB / 0.5294 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.0009056/0.6012, allocations: 0.5473 MB / 0.6858 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003998/0.6016, allocations: 170 kB / 0.686 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007511/0.6092, allocations: 4.938 MB / 0.6908 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.6092, allocations: 11.97 kB / 0.6908 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6092, allocations: 0 / 0.6908 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.6103, allocations: 393.9 kB / 0.6912 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005695/0.6109, allocations: 79.3 kB / 0.6913 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/0.6124, allocations: 143.8 kB / 0.6914 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.6127, allocations: 105.2 kB / 0.6915 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005574/0.6182, allocations: 2.772 MB / 0.6942 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005751/0.624, allocations: 3.734 MB / 0.6979 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001624/0.6256, allocations: 1.132 MB / 0.699 GB, free: 15.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001939/0.6276, allocations: 1.236 MB / 0.7002 GB, free: 14.45 MB / 0.545 GB Notification: Performance of Backend: time 3.31e-07/0.6276, allocations: 0 / 0.7002 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009553/0.6372, allocations: 3.023 MB / 0.7031 GB, free: 11.45 MB / 0.545 GB Notification: Performance of SimCode: time 0.008059/0.6452, allocations: 4.871 MB / 0.7079 GB, free: 6.516 MB / 0.545 GB Notification: Performance of Templates: time 0.3116/0.9569, allocations: 71.7 MB / 0.7779 GB, free: 210.6 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches