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.001746/0.001747, allocations: 111.4 kB / 16.41 MB, free: 6.445 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.001687/0.001687, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.66/1.66, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.2226/0.2226, allocations: 43.53 MB / 314.1 MB, free: 468 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.001326/0.001326, allocations: 72.45 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1197, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4654/0.5851, allocations: 186.3 MB / 0.6698 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.587, allocations: 0.8969 MB / 0.6707 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003585/0.5874, allocations: 11.94 kB / 0.6707 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007049/0.5882, allocations: 198.7 kB / 0.6709 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006772/0.5889, allocations: 290.3 kB / 0.6711 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00565/0.5946, allocations: 2.145 MB / 0.6732 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001319/0.5959, allocations: 0.9749 MB / 0.6742 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004653/0.5964, allocations: 341.4 kB / 0.6745 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00401/0.6004, allocations: 1.686 MB / 0.6762 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005682/0.601, allocations: 314.8 kB / 0.6765 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.6011, allocations: 48 kB / 0.6765 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006307/0.6074, allocations: 2.944 MB / 0.6794 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.6077, allocations: 195.5 kB / 0.6796 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.6081, allocations: 266.9 kB / 0.6798 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004943/0.6131, allocations: 2.131 MB / 0.6819 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.6131, allocations: 3.938 kB / 0.6819 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6131, allocations: 0 / 0.6819 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.256e-05/0.6131, allocations: 0 / 0.6819 GB, free: 3.773 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.002602/0.6157, allocations: 1.099 MB / 0.683 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.6158, allocations: 8.031 kB / 0.683 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003067/0.6161, allocations: 55.72 kB / 0.683 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006146/0.6167, allocations: 394.1 kB / 0.6834 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.6168, allocations: 33 kB / 0.6835 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.052e-05/0.6168, allocations: 36 kB / 0.6835 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009025/0.6177, allocations: 0.5237 MB / 0.684 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.6178, allocations: 0 / 0.684 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.6178, allocations: 16 kB / 0.684 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.6178, allocations: 8 kB / 0.684 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008642/0.6187, allocations: 499.5 kB / 0.6845 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.6215, allocations: 1.965 MB / 0.6864 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.6222, allocations: 457.3 kB / 0.6869 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.6225, allocations: 182.5 kB / 0.687 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008974/0.6234, allocations: 0.9455 MB / 0.688 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.6234, allocations: 46.5 kB / 0.688 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.6234, allocations: 0 / 0.688 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.001112/0.6246, allocations: 0.4901 MB / 0.6885 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.6246, allocations: 106.8 kB / 0.6886 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005684/0.6252, allocations: 401.6 kB / 0.689 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.6253, allocations: 37.7 kB / 0.689 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.6255, allocations: 216.5 kB / 0.6892 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.6256, allocations: 111 kB / 0.6893 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.6257, allocations: 81.95 kB / 0.6894 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.6259, allocations: 354.8 kB / 0.6897 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.6262, allocations: 148.6 kB / 0.6899 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.6266, allocations: 254 kB / 0.6901 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007003/0.6273, allocations: 496.2 kB / 0.6906 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6273, allocations: 0 / 0.6906 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009623/0.6283, allocations: 0.551 MB / 0.6911 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.793e-05/0.6283, allocations: 63.41 kB / 0.6912 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.6283, allocations: 1.641 kB / 0.6912 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.6284, allocations: 8.188 kB / 0.6912 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.6287, allocations: 79.83 kB / 0.6913 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.6288, allocations: 15.92 kB / 0.6913 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.6291, allocations: 56 kB / 0.6913 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.6292, allocations: 23.98 kB / 0.6914 GB, free: 9.363 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.0002127/0.6294, allocations: 193.5 kB / 0.6915 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.6295, allocations: 43.72 kB / 0.6916 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009762/0.6305, allocations: 482.3 kB / 0.692 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.6305, allocations: 4 kB / 0.692 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.6306, allocations: 4 kB / 0.6921 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6306, allocations: 0 / 0.6921 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/0.6335, allocations: 2.442 MB / 0.6944 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6335, allocations: 4.188 kB / 0.6944 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.6338, allocations: 63.91 kB / 0.6945 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.6338, allocations: 4 kB / 0.6945 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.6338, allocations: 15.92 kB / 0.6945 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.6338, allocations: 4 kB / 0.6945 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.6338, allocations: 12 kB / 0.6945 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007923/0.6346, allocations: 0.6398 MB / 0.6952 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.6347, allocations: 124.8 kB / 0.6953 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.048e-05/0.6348, allocations: 19.89 kB / 0.6953 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.6353, allocations: 23.97 kB / 0.6953 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.6353, allocations: 23.91 kB / 0.6953 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.6354, allocations: 23.98 kB / 0.6954 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003923/0.6358, allocations: 363.1 kB / 0.6957 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6358, allocations: 0 / 0.6957 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001156/0.637, allocations: 382.9 kB / 0.6961 GB, free: 4.105 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.001286/0.6383, allocations: 0.5807 MB / 0.6966 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008191/0.6391, allocations: 462.4 kB / 0.6971 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6391, allocations: 0.75 kB / 0.6971 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.6394, allocations: 168.1 kB / 0.6972 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.6409, allocations: 296.7 kB / 0.6975 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.6421, allocations: 0.7989 MB / 0.6983 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.6427, allocations: 0.8351 MB / 0.6991 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003624/0.6431, allocations: 120 kB / 0.6992 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.6432, allocations: 47.42 kB / 0.6993 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.6432, allocations: 0 / 0.6993 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of Templates: time 0.02468/0.6679, allocations: 16.05 MB / 0.715 GB, free: 0.6875 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