Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 109.1 kB / 17.09 MB, free: 6.008 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.001377/0.001377, allocations: 198.2 kB / 18.02 MB, free: 5.082 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.349/1.349, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1962/0.1962, 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.001587/0.001587, allocations: 67.89 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1027, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3981/0.5009, allocations: 186.3 MB / 0.6705 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.5027, allocations: 0.893 MB / 0.6713 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.5029, allocations: 7.938 kB / 0.6713 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006262/0.5036, allocations: 218.6 kB / 0.6715 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004928/0.5041, allocations: 270.4 kB / 0.6718 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005464/0.5095, allocations: 2.155 MB / 0.6739 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.5108, allocations: 0.9789 MB / 0.6749 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004678/0.5112, allocations: 329.8 kB / 0.6752 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003452/0.5147, allocations: 1.702 MB / 0.6768 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005142/0.5152, allocations: 314.9 kB / 0.6771 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-05/0.5154, allocations: 48 kB / 0.6772 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004936/0.5203, allocations: 2.937 MB / 0.6801 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.5205, allocations: 199.4 kB / 0.6802 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.5208, allocations: 274.9 kB / 0.6805 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.5239, allocations: 2.105 MB / 0.6826 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5239, allocations: 3.938 kB / 0.6826 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5239, allocations: 0 / 0.6826 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.524, allocations: 0 / 0.6826 GB, free: 3.77 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001806/0.5258, allocations: 1.067 MB / 0.6836 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.5258, allocations: 8.031 kB / 0.6836 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002654/0.5261, allocations: 63.42 kB / 0.6837 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.5266, allocations: 382 kB / 0.684 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.5266, allocations: 28.94 kB / 0.6841 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.5267, allocations: 36 kB / 0.6841 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008635/0.5276, allocations: 0.5237 MB / 0.6846 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.5276, allocations: 7.938 kB / 0.6846 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-05/0.5277, allocations: 16 kB / 0.6846 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.5277, allocations: 8.625 kB / 0.6846 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000839/0.5285, allocations: 499.6 kB / 0.6851 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/0.531, allocations: 1.966 MB / 0.687 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006974/0.5317, allocations: 456.7 kB / 0.6875 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.5321, allocations: 174.5 kB / 0.6876 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007706/0.5328, allocations: 0.9533 MB / 0.6886 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.5329, allocations: 42.55 kB / 0.6886 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/0.5329, allocations: 0 / 0.6886 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.001069/0.534, allocations: 496.8 kB / 0.6891 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.534, allocations: 110.8 kB / 0.6892 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/0.5344, allocations: 401.5 kB / 0.6896 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.5345, allocations: 41.58 kB / 0.6896 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.5347, allocations: 220.1 kB / 0.6898 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.746e-05/0.5347, allocations: 98.55 kB / 0.6899 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.5349, allocations: 77.97 kB / 0.69 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.535, allocations: 354.8 kB / 0.6903 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.5353, allocations: 152.7 kB / 0.6905 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.5357, allocations: 258 kB / 0.6907 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00068/0.5364, allocations: 496.9 kB / 0.6912 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5364, allocations: 0 / 0.6912 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009193/0.5373, allocations: 0.543 MB / 0.6917 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.5374, allocations: 67.39 kB / 0.6918 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5374, allocations: 4 kB / 0.6918 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.5374, allocations: 4.188 kB / 0.6918 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.5378, allocations: 84.27 kB / 0.6919 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.5378, allocations: 7.938 kB / 0.6919 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.5382, allocations: 51.58 kB / 0.6919 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/0.5382, allocations: 20 kB / 0.692 GB, free: 9.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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.0001969/0.5384, allocations: 185.6 kB / 0.6921 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.5386, allocations: 51.38 kB / 0.6922 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009737/0.5395, allocations: 484.1 kB / 0.6926 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.5396, allocations: 11.92 kB / 0.6927 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5396, allocations: 0 / 0.6927 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.28e-05/0.5397, allocations: 124.6 kB / 0.6928 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/0.5397, allocations: 11.98 kB / 0.6928 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/0.5401, allocations: 15.98 kB / 0.6928 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.5402, allocations: 27.91 kB / 0.6928 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007885/0.541, allocations: 0.5777 MB / 0.6934 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007359/0.5417, allocations: 0.6689 MB / 0.694 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002621/0.542, allocations: 147.9 kB / 0.6942 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003616/0.5424, allocations: 359 kB / 0.6945 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of Backend: time 3.71e-07/0.5424, allocations: 4 kB / 0.6945 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002916/0.5453, allocations: 1.14 MB / 0.6956 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001704/0.547, allocations: 1.298 MB / 0.6969 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of Templates: time 0.03076/0.5778, allocations: 20.32 MB / 0.7168 GB, free: 15.89 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches