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.001306/0.001306, allocations: 114.2 kB / 19.69 MB, free: 2.188 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.001438/0.001438, allocations: 216 kB / 23 MB, free: 5.004 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.372/1.372, allocations: 207.6 MB / 233.8 MB, free: 10.01 MB / 190.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.213/0.213, allocations: 44.22 MB / 330.3 MB, free: 9.527 MB / 270.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.00219/0.00219, allocations: 71.84 kB / 467.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1077, allocations: 61.05 MB / 0.5162 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.419/0.5268, allocations: 187.2 MB / 0.699 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.5287, allocations: 0.9124 MB / 0.6999 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.5288, allocations: 19.88 kB / 0.6999 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006314/0.5295, allocations: 210.7 kB / 0.7001 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005318/0.53, allocations: 290.3 kB / 0.7004 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005524/0.5355, allocations: 2.197 MB / 0.7025 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00127/0.5368, allocations: 0.9983 MB / 0.7035 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004295/0.5372, allocations: 273.3 kB / 0.7037 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.5409, allocations: 1.725 MB / 0.7054 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005517/0.5414, allocations: 342.7 kB / 0.7057 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.785e-05/0.5415, allocations: 44 kB / 0.7058 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005261/0.5468, allocations: 3.053 MB / 0.7088 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.547, allocations: 199.5 kB / 0.709 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003265/0.5474, allocations: 266.9 kB / 0.7092 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003405/0.5508, allocations: 2.135 MB / 0.7113 GB, free: 11.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.5508, allocations: 0 / 0.7113 GB, free: 11.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5508, allocations: 0 / 0.7113 GB, free: 11.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.5508, allocations: 0 / 0.7113 GB, free: 11.81 MB / 0.545 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.001903/0.5527, allocations: 1.017 MB / 0.7123 GB, free: 10.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5527, allocations: 15.97 kB / 0.7123 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.741e-05/0.5528, allocations: 75.97 kB / 0.7124 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002518/0.5531, allocations: 55.72 kB / 0.7124 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.5536, allocations: 319.8 kB / 0.7127 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.5537, allocations: 29 kB / 0.7128 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/0.5537, allocations: 39.94 kB / 0.7128 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008847/0.5546, allocations: 0.5235 MB / 0.7133 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.5546, allocations: 4 kB / 0.7133 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-05/0.5547, allocations: 16 kB / 0.7133 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.5547, allocations: 8 kB / 0.7133 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000878/0.5556, allocations: 495.5 kB / 0.7138 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/0.5583, allocations: 1.943 MB / 0.7157 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006998/0.559, allocations: 369.1 kB / 0.7161 GB, free: 6.664 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.5593, allocations: 166.5 kB / 0.7162 GB, free: 6.492 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004403/0.5598, allocations: 132 kB / 0.7163 GB, free: 6.363 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.5598, allocations: 46.5 kB / 0.7164 GB, free: 6.309 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/0.5598, allocations: 0 / 0.7164 GB, free: 6.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=30): time 0.001112/0.5609, allocations: 0.4933 MB / 0.7169 GB, free: 5.809 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.561, allocations: 106.8 kB / 0.717 GB, free: 5.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000456/0.5614, allocations: 397.6 kB / 0.7174 GB, free: 5.281 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.5615, allocations: 33.7 kB / 0.7174 GB, free: 5.242 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.5616, allocations: 220.5 kB / 0.7176 GB, free: 5.023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.324e-05/0.5617, allocations: 107 kB / 0.7177 GB, free: 4.918 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.5619, allocations: 86 kB / 0.7178 GB, free: 4.828 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.562, allocations: 350.8 kB / 0.7181 GB, free: 4.477 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.5624, allocations: 145.5 kB / 0.7183 GB, free: 4.336 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/0.5628, allocations: 262 kB / 0.7185 GB, free: 4.035 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000777/0.5635, allocations: 489.5 kB / 0.719 GB, free: 3.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.5635, allocations: 3.938 kB / 0.719 GB, free: 3.496 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001015/0.5646, allocations: 0.5431 MB / 0.7195 GB, free: 2.938 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/0.5646, allocations: 67.39 kB / 0.7196 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.5646, allocations: 4 kB / 0.7196 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.5646, allocations: 8 kB / 0.7196 GB, free: 2.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.565, allocations: 79.83 kB / 0.7197 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.5651, allocations: 8 kB / 0.7197 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.5654, allocations: 59.95 kB / 0.7197 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.5654, allocations: 23.98 kB / 0.7197 GB, free: 2.68 MB / 0.545 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.0002179/0.5657, allocations: 189.5 kB / 0.7199 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.5658, allocations: 51.66 kB / 0.72 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.5668, allocations: 482.5 kB / 0.7204 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.5668, allocations: 4 kB / 0.7204 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.5668, allocations: 4 kB / 0.7204 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5668, allocations: 3.984 kB / 0.7204 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.5694, allocations: 1.363 MB / 0.7218 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.5694, allocations: 0 / 0.7218 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.5697, allocations: 63.91 kB / 0.7218 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.5697, allocations: 4 kB / 0.7218 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.5697, allocations: 16.12 kB / 0.7219 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.5698, allocations: 4 kB / 0.7219 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5698, allocations: 0 / 0.7219 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008586/0.5706, allocations: 0.6396 MB / 0.7225 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.5707, allocations: 47.69 kB / 0.7225 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.287e-05/0.5708, allocations: 23.83 kB / 0.7226 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.5712, allocations: 23.11 kB / 0.7226 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.5713, allocations: 35.89 kB / 0.7226 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.5713, allocations: 19.98 kB / 0.7226 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004211/0.5718, allocations: 363.1 kB / 0.723 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5718, allocations: 0 / 0.723 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001113/0.5729, allocations: 382.9 kB / 0.7233 GB, free: 14.86 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.00233/0.5752, allocations: 1.669 MB / 0.725 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008483/0.576, allocations: 458.3 kB / 0.7254 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.576, allocations: 0.75 kB / 0.7254 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003178/0.5764, allocations: 160 kB / 0.7256 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.5777, allocations: 276.2 kB / 0.7258 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006351/0.5841, allocations: 4.615 MB / 0.7303 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.5846, allocations: 0.8351 MB / 0.7311 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004131/0.585, allocations: 116.2 kB / 0.7313 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.5853, allocations: 147.4 kB / 0.7314 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.5853, allocations: 0 / 0.7314 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05379/0.6391, allocations: 21.17 MB / 0.7521 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.68, allocations: 7.234 kB / 0.7521 GB, free: 1.117 MB / 0.5762 GB " [Timeout remaining time 647] (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: 15.555939575002412]