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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 109.2 kB / 17.12 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002156/0.002156, allocations: 209 kB / 20.09 MB, free: 2.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 207.6 MB / 230.5 MB, free: 4.066 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.343/0.343, allocations: 44.22 MB / 326.6 MB, free: 6.801 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 71.89 kB / 462.2 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2772, allocations: 60.99 MB / 0.5109 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4808/0.758, allocations: 186.9 MB / 0.6935 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.7598, allocations: 0.8972 MB / 0.6944 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002153/0.76, allocations: 14.97 kB / 0.6944 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005937/0.7606, allocations: 211.6 kB / 0.6946 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004827/0.7611, allocations: 281.8 kB / 0.6948 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005128/0.7662, allocations: 2.173 MB / 0.697 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.7672, allocations: 0.9781 MB / 0.6979 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000364/0.7676, allocations: 286.7 kB / 0.6982 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00347/0.771, allocations: 1.714 MB / 0.6999 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004897/0.7715, allocations: 341.1 kB / 0.7002 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.824e-05/0.7716, allocations: 44.41 kB / 0.7002 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004792/0.7764, allocations: 3.017 MB / 0.7032 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.7766, allocations: 198.3 kB / 0.7034 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003308/0.777, allocations: 269.4 kB / 0.7036 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00372/0.7807, allocations: 2.126 MB / 0.7057 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7807, allocations: 0 / 0.7057 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.694e-06/0.7807, allocations: 0 / 0.7057 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.7807, allocations: 2.531 kB / 0.7057 GB, free: 15.18 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.002151/0.7828, allocations: 1.093 MB / 0.7068 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.7829, allocations: 14.08 kB / 0.7068 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.783, allocations: 80.2 kB / 0.7069 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002837/0.7833, allocations: 53.12 kB / 0.7069 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005742/0.7839, allocations: 388.3 kB / 0.7073 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.7839, allocations: 31 kB / 0.7073 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.513e-05/0.7839, allocations: 41.03 kB / 0.7073 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008695/0.7848, allocations: 0.5213 MB / 0.7079 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.7848, allocations: 2.094 kB / 0.7079 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/0.7849, allocations: 15.72 kB / 0.7079 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.7849, allocations: 7.781 kB / 0.7079 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007916/0.7857, allocations: 498.2 kB / 0.7084 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.7883, allocations: 1.972 MB / 0.7103 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007143/0.789, allocations: 450.1 kB / 0.7107 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.7893, allocations: 167.8 kB / 0.7109 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009756/0.7903, allocations: 0.9528 MB / 0.7118 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.7903, allocations: 40.88 kB / 0.7118 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 2.455e-06/0.7903, allocations: 0 / 0.7118 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.001211/0.7915, allocations: 0.4945 MB / 0.7123 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.7916, allocations: 111.7 kB / 0.7124 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.7921, allocations: 394.2 kB / 0.7128 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/0.7922, allocations: 37.48 kB / 0.7128 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.7924, allocations: 219.6 kB / 0.7131 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.7925, allocations: 113.1 kB / 0.7132 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.7926, allocations: 79.42 kB / 0.7132 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.7928, allocations: 350.3 kB / 0.7136 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.7932, allocations: 148.7 kB / 0.7137 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.7936, allocations: 263.3 kB / 0.714 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007699/0.7943, allocations: 480.6 kB / 0.7144 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.7944, allocations: 3.938 kB / 0.7144 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001036/0.7954, allocations: 0.546 MB / 0.715 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.854e-05/0.7954, allocations: 66.42 kB / 0.715 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.7955, allocations: 6.594 kB / 0.715 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.7955, allocations: 7.656 kB / 0.715 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.7959, allocations: 85.28 kB / 0.7151 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.7959, allocations: 7.469 kB / 0.7151 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.7962, allocations: 54.73 kB / 0.7152 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.7963, allocations: 22.86 kB / 0.7152 GB, free: 9.141 MB / 0.5137 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.0002398/0.7965, allocations: 186.7 kB / 0.7154 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.7966, allocations: 44.09 kB / 0.7154 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009856/0.7976, allocations: 489 kB / 0.7159 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.7976, allocations: 7.984 kB / 0.7159 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7976, allocations: 6.719 kB / 0.7159 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.7976, allocations: 0 / 0.7159 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/0.8009, allocations: 2.445 MB / 0.7183 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.8009, allocations: 0 / 0.7183 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.8012, allocations: 60.72 kB / 0.7183 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.8012, allocations: 2.281 kB / 0.7183 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.8012, allocations: 16.78 kB / 0.7184 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.8012, allocations: 9.578 kB / 0.7184 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.8012, allocations: 2.781 kB / 0.7184 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008936/0.8021, allocations: 0.6381 MB / 0.719 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.8023, allocations: 125.2 kB / 0.7191 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.738e-05/0.8023, allocations: 17.02 kB / 0.7191 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.8028, allocations: 20.95 kB / 0.7192 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.8029, allocations: 27.06 kB / 0.7192 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/0.8029, allocations: 23.3 kB / 0.7192 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004538/0.8034, allocations: 362.4 kB / 0.7195 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.8034, allocations: 0 / 0.7195 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001402/0.8048, allocations: 388.1 kB / 0.7199 GB, free: 5.922 MB / 0.5137 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.002508/0.8073, allocations: 1.661 MB / 0.7215 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009618/0.8082, allocations: 450.7 kB / 0.722 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.8082, allocations: 4.688 kB / 0.722 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.8086, allocations: 167.4 kB / 0.7221 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.81, allocations: 286.3 kB / 0.7224 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006779/0.8168, allocations: 4.61 MB / 0.7269 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/0.8174, allocations: 0.8385 MB / 0.7277 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004572/0.8179, allocations: 111.8 kB / 0.7278 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.8181, allocations: 146.3 kB / 0.728 GB, free: 496 kB / 0.5137 GB Notification: Performance of SimCode: time 1.022e-06/0.8181, allocations: 1.219 kB / 0.728 GB, free: 496 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0511/0.8692, allocations: 20.82 MB / 0.7483 GB, free: 13.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.108/9.977, allocations: 11.78 kB / 0.7483 GB, free: 13.1 MB / 0.545 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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.00039984 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv","/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) [Timeout 660] "Error: Could not read variable traceSubstance.C in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance.C from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! Error: Could not read variable traceSubstance1.C in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance1.C from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.036070750997169]