Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001324, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001226/0.001226, allocations: 181 kB / 18.71 MB, free: 4.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2172/0.2172, allocations: 44.18 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 59.91 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3027, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2146/0.5173, allocations: 181.3 MB / 0.6955 GB, free: 6.168 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002022/0.5194, allocations: 0.8892 MB / 0.6964 GB, free: 5.273 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.5197, allocations: 7.938 kB / 0.6964 GB, free: 5.266 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008023/0.5205, allocations: 210.6 kB / 0.6966 GB, free: 5.059 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007193/0.5213, allocations: 278.3 kB / 0.6968 GB, free: 4.785 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007425/0.5287, allocations: 1.914 MB / 0.6987 GB, free: 2.875 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.5305, allocations: 0.9788 MB / 0.6997 GB, free: 1.895 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007326/0.5313, allocations: 317.1 kB / 0.7 GB, free: 1.582 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005403/0.5367, allocations: 1.534 MB / 0.7015 GB, free: 44 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008187/0.5376, allocations: 318.8 kB / 0.7018 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.5377, allocations: 48 kB / 0.7018 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006554/0.5443, allocations: 2.734 MB / 0.7045 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.5446, allocations: 191.5 kB / 0.7047 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003923/0.545, allocations: 270.9 kB / 0.7049 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004966/0.55, allocations: 2.029 MB / 0.7069 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.55, allocations: 0 / 0.7069 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5501, allocations: 0 / 0.7069 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.5501, allocations: 0 / 0.7069 GB, free: 10.45 MB / 0.5606 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.002642/0.5527, allocations: 1.077 MB / 0.708 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.5528, allocations: 8.031 kB / 0.708 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.5529, allocations: 78.53 kB / 0.708 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003628/0.5533, allocations: 59.7 kB / 0.7081 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000704/0.554, allocations: 386.1 kB / 0.7085 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.5541, allocations: 29 kB / 0.7085 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.309e-05/0.5541, allocations: 36 kB / 0.7085 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.5554, allocations: 0.5159 MB / 0.709 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.5555, allocations: 0 / 0.709 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-05/0.5555, allocations: 20 kB / 0.709 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.5556, allocations: 8 kB / 0.7091 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.5569, allocations: 0.4954 MB / 0.7095 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.5608, allocations: 1.975 MB / 0.7115 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.5619, allocations: 460.7 kB / 0.7119 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.5624, allocations: 182.4 kB / 0.7121 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/0.5637, allocations: 0.9455 MB / 0.713 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.5638, allocations: 42.56 kB / 0.713 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.875e-06/0.5638, allocations: 0 / 0.713 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001703/0.5655, allocations: 0.4931 MB / 0.7135 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.706e-05/0.5656, allocations: 110.8 kB / 0.7136 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006471/0.5663, allocations: 397.6 kB / 0.714 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/0.5664, allocations: 37.7 kB / 0.714 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.5666, allocations: 220.5 kB / 0.7143 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.5667, allocations: 115 kB / 0.7144 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.5669, allocations: 78.06 kB / 0.7144 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.5672, allocations: 354.7 kB / 0.7148 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.5677, allocations: 148.7 kB / 0.7149 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005857/0.5683, allocations: 258.1 kB / 0.7152 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.5694, allocations: 487.7 kB / 0.7156 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5694, allocations: 7.938 kB / 0.7156 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001418/0.5708, allocations: 0.5512 MB / 0.7162 GB, free: 220 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.264e-05/0.5709, allocations: 59.41 kB / 0.7162 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.5709, allocations: 4 kB / 0.7162 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.5709, allocations: 4 kB / 0.7162 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.5714, allocations: 87.88 kB / 0.7163 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.5714, allocations: 7.984 kB / 0.7163 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.22/0.7914, allocations: 51.61 kB / 0.7164 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.7916, allocations: 18.52 kB / 0.7164 GB, free: 189.8 MB / 0.5606 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.0003115/0.7919, allocations: 191 kB / 0.7166 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.7921, allocations: 44.59 kB / 0.7166 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.7933, allocations: 487 kB / 0.7171 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.7933, allocations: 3.938 kB / 0.7171 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.7933, allocations: 4.781 kB / 0.7171 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.7934, allocations: 5.906 kB / 0.7171 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.7959, allocations: 2.437 MB / 0.7195 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.7959, allocations: 2.234 kB / 0.7195 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.7962, allocations: 59.77 kB / 0.7195 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.7962, allocations: 4.359 kB / 0.7195 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.7963, allocations: 12.84 kB / 0.7196 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.7963, allocations: 4.297 kB / 0.7196 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7963, allocations: 1.406 kB / 0.7196 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007115/0.797, allocations: 0.6482 MB / 0.7202 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.548e-05/0.7971, allocations: 124.7 kB / 0.7203 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.951e-05/0.7972, allocations: 20.11 kB / 0.7203 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.7976, allocations: 19.03 kB / 0.7204 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.7977, allocations: 32.3 kB / 0.7204 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/0.7977, allocations: 17.94 kB / 0.7204 GB, free: 187 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003924/0.7981, allocations: 365.3 kB / 0.7207 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7981, allocations: 0 / 0.7207 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001089/0.7992, allocations: 345 kB / 0.7211 GB, free: 186.8 MB / 0.5606 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.002022/0.8013, allocations: 1.574 MB / 0.7226 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008196/0.8021, allocations: 469.6 kB / 0.7231 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.8021, allocations: 1.438 kB / 0.7231 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.8024, allocations: 166.8 kB / 0.7232 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.8039, allocations: 279.2 kB / 0.7235 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005565/0.8095, allocations: 4.604 MB / 0.728 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.8098, allocations: 0.8352 MB / 0.7288 GB, free: 182 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000494/0.8103, allocations: 118.5 kB / 0.7289 GB, free: 182 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.8105, allocations: 146.6 kB / 0.7291 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.8105, allocations: 0 / 0.7291 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04358/0.8541, allocations: 19.57 MB / 0.7482 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.06/9.914, allocations: 5.094 kB / 0.7482 GB, free: 168.8 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches