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.0013/0.001301, allocations: 109.3 kB / 16.41 MB, free: 6.477 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.001263/0.001263, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.263/1.263, allocations: 205.1 MB / 223.2 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.2174/0.2174, allocations: 43.52 MB / 314.1 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.001673/0.001673, allocations: 75.88 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1183, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.491/0.6094, allocations: 186.3 MB / 0.6698 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001948/0.6114, allocations: 0.8969 MB / 0.6707 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.6116, allocations: 11.94 kB / 0.6707 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006317/0.6123, allocations: 206.7 kB / 0.6709 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000527/0.6128, allocations: 286.3 kB / 0.6711 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005938/0.6188, allocations: 2.159 MB / 0.6733 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001244/0.62, allocations: 0.9866 MB / 0.6742 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004382/0.6205, allocations: 341.1 kB / 0.6745 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003673/0.6242, allocations: 1.698 MB / 0.6762 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.6246, allocations: 318.9 kB / 0.6765 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8e-05/0.6247, allocations: 48 kB / 0.6766 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004915/0.6296, allocations: 2.944 MB / 0.6794 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.6299, allocations: 191.5 kB / 0.6796 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.6302, allocations: 270.8 kB / 0.6799 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003549/0.6337, allocations: 2.116 MB / 0.6819 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6338, allocations: 0 / 0.6819 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6338, allocations: 0 / 0.6819 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.6338, allocations: 0 / 0.6819 GB, free: 3.746 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.002212/0.636, allocations: 1.067 MB / 0.683 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.636, allocations: 8.031 kB / 0.683 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/0.6363, allocations: 60.3 kB / 0.683 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/0.6369, allocations: 374 kB / 0.6834 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.6369, allocations: 32.98 kB / 0.6834 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.637, allocations: 36 kB / 0.6835 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008456/0.6378, allocations: 0.5236 MB / 0.684 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.6379, allocations: 4 kB / 0.684 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.71e-05/0.6379, allocations: 16 kB / 0.684 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.6379, allocations: 8 kB / 0.684 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008209/0.6387, allocations: 499.5 kB / 0.6845 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/0.6412, allocations: 1.967 MB / 0.6864 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006929/0.6419, allocations: 458.8 kB / 0.6868 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.6423, allocations: 186.4 kB / 0.687 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007912/0.6431, allocations: 0.9455 MB / 0.6879 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.6431, allocations: 46.55 kB / 0.688 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 1.843e-06/0.6431, allocations: 0 / 0.688 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.001064/0.6442, allocations: 496.9 kB / 0.6885 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.6442, allocations: 106.8 kB / 0.6886 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.6447, allocations: 409.4 kB / 0.689 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.6447, allocations: 37.7 kB / 0.689 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.6449, allocations: 220.1 kB / 0.6892 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.856e-05/0.645, allocations: 98.56 kB / 0.6893 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.6451, allocations: 81.95 kB / 0.6894 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6452, allocations: 350.8 kB / 0.6897 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.6455, allocations: 148.6 kB / 0.6898 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.6459, allocations: 273.9 kB / 0.6901 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/0.6466, allocations: 477 kB / 0.6906 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6466, allocations: 3.938 kB / 0.6906 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009323/0.6475, allocations: 0.5548 MB / 0.6911 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.089e-05/0.6476, allocations: 59.41 kB / 0.6912 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.6476, allocations: 4 kB / 0.6912 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.6476, allocations: 8 kB / 0.6912 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.648, allocations: 83.88 kB / 0.6913 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.648, allocations: 8 kB / 0.6913 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.6483, allocations: 44.08 kB / 0.6913 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.451e-05/0.6484, allocations: 24 kB / 0.6913 GB, free: 9.391 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.000206/0.6486, allocations: 193.5 kB / 0.6915 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.6487, allocations: 51.42 kB / 0.6916 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009809/0.6497, allocations: 483.6 kB / 0.692 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.6498, allocations: 4 kB / 0.692 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6498, allocations: 0 / 0.692 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.6498, allocations: 4 kB / 0.692 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002987/0.6528, allocations: 2.441 MB / 0.6944 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.6528, allocations: 0 / 0.6944 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.6531, allocations: 68.08 kB / 0.6945 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.6531, allocations: 4 kB / 0.6945 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.6531, allocations: 11.94 kB / 0.6945 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.6531, allocations: 7.938 kB / 0.6945 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.6531, allocations: 3.938 kB / 0.6945 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007883/0.6539, allocations: 0.6356 MB / 0.6951 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.6541, allocations: 120.5 kB / 0.6952 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.6541, allocations: 19.92 kB / 0.6953 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/0.6545, allocations: 19.98 kB / 0.6953 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/0.6546, allocations: 27.91 kB / 0.6953 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.58e-05/0.6547, allocations: 19.98 kB / 0.6953 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004088/0.6551, allocations: 363.1 kB / 0.6957 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6551, allocations: 4 kB / 0.6957 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001242/0.6563, allocations: 379.6 kB / 0.696 GB, free: 4.145 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001284/0.6576, allocations: 0.5798 MB / 0.6966 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008076/0.6584, allocations: 470.4 kB / 0.6971 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6585, allocations: 0 / 0.6971 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.6588, allocations: 172.8 kB / 0.6972 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.6601, allocations: 288.8 kB / 0.6975 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.6613, allocations: 0.7691 MB / 0.6982 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.6618, allocations: 0.8468 MB / 0.6991 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003382/0.6621, allocations: 112 kB / 0.6992 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.6623, allocations: 47.42 kB / 0.6992 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.6623, allocations: 0 / 0.6992 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of Templates: time 0.02676/0.689, allocations: 16.04 MB / 0.7149 GB, free: 0.7578 MB / 0.545 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins/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