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.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.001778/0.001778, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002107/0.002107, allocations: 210.8 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.579/1.579, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2164/0.2164, allocations: 44.94 MB / 358.8 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002251/0.002251, allocations: 69.47 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3019, allocations: 65.48 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2012/0.5031, allocations: 160.4 MB / 0.7136 GB, free: 6.543 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.5051, allocations: 0.8813 MB / 0.7145 GB, free: 5.656 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.5053, allocations: 11.88 kB / 0.7145 GB, free: 5.645 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007393/0.5061, allocations: 202.7 kB / 0.7147 GB, free: 5.445 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006209/0.5067, allocations: 298.3 kB / 0.715 GB, free: 5.152 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005759/0.5125, allocations: 1.953 MB / 0.7169 GB, free: 3.199 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001846/0.5143, allocations: 0.9906 MB / 0.7178 GB, free: 2.207 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005547/0.5149, allocations: 277.2 kB / 0.7181 GB, free: 1.934 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003787/0.5187, allocations: 1.596 MB / 0.7196 GB, free: 344 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006943/0.5193, allocations: 322.8 kB / 0.72 GB, free: 20 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.5195, allocations: 48.05 kB / 0.72 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00457/0.5241, allocations: 2.289 MB / 0.7222 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002867/0.5243, allocations: 203.5 kB / 0.7224 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003198/0.5247, allocations: 227.2 kB / 0.7226 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003741/0.5284, allocations: 1.979 MB / 0.7246 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5284, allocations: 0 / 0.7246 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5284, allocations: 0 / 0.7246 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.5284, allocations: 8 kB / 0.7246 GB, free: 11.27 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.001983/0.5304, allocations: 0.9974 MB / 0.7256 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5305, allocations: 12.02 kB / 0.7256 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.341e-05/0.5306, allocations: 74.53 kB / 0.7256 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000276/0.5308, allocations: 63.67 kB / 0.7257 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006264/0.5315, allocations: 319.8 kB / 0.726 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.5315, allocations: 29 kB / 0.726 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.121e-05/0.5316, allocations: 40 kB / 0.7261 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.5326, allocations: 0.7669 MB / 0.7268 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.5326, allocations: 0 / 0.7268 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.5327, allocations: 20 kB / 0.7268 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.5327, allocations: 8 kB / 0.7269 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008825/0.5336, allocations: 495.5 kB / 0.7273 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.5362, allocations: 1.574 MB / 0.7289 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.5369, allocations: 355.6 kB / 0.7292 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.5372, allocations: 178.5 kB / 0.7294 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004358/0.5376, allocations: 127.8 kB / 0.7295 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.5376, allocations: 42.55 kB / 0.7295 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.5376, allocations: 3.938 kB / 0.7295 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001142/0.5388, allocations: 497.1 kB / 0.73 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.5389, allocations: 110.8 kB / 0.7301 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004623/0.5393, allocations: 405.5 kB / 0.7305 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.5394, allocations: 37.64 kB / 0.7305 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.5395, allocations: 224.5 kB / 0.7308 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.808e-05/0.5396, allocations: 107.2 kB / 0.7309 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.5398, allocations: 78.06 kB / 0.7309 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5399, allocations: 358.7 kB / 0.7313 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.5403, allocations: 200.1 kB / 0.7315 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.5407, allocations: 305.7 kB / 0.7318 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007563/0.5414, allocations: 483.7 kB / 0.7322 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5414, allocations: 4 kB / 0.7322 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001063/0.5425, allocations: 0.6013 MB / 0.7328 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.615e-05/0.5426, allocations: 59.41 kB / 0.7329 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.5426, allocations: 4.375 kB / 0.7329 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.5426, allocations: 8.188 kB / 0.7329 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.543, allocations: 95.88 kB / 0.733 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.543, allocations: 4 kB / 0.733 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.5433, allocations: 47.66 kB / 0.733 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/0.5434, allocations: 20 kB / 0.733 GB, free: 2.086 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.0002304/0.5436, allocations: 197.5 kB / 0.7332 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.5437, allocations: 43.72 kB / 0.7333 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.5448, allocations: 495.8 kB / 0.7337 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.5448, allocations: 4 kB / 0.7337 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5448, allocations: 0 / 0.7337 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.5448, allocations: 4 kB / 0.7337 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/0.5473, allocations: 1.258 MB / 0.735 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.5474, allocations: 11.88 kB / 0.735 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2359/0.7832, allocations: 54.25 kB / 0.735 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.7832, allocations: 3.125 kB / 0.735 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.7833, allocations: 10.95 kB / 0.7351 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/0.7833, allocations: 6.125 kB / 0.7351 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.7833, allocations: 5.656 kB / 0.7351 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.7843, allocations: 0.6389 MB / 0.7357 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.7845, allocations: 50.42 kB / 0.7357 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.4e-05/0.7845, allocations: 17.41 kB / 0.7358 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.785, allocations: 19.09 kB / 0.7358 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/0.7851, allocations: 28.27 kB / 0.7358 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/0.7851, allocations: 25.22 kB / 0.7358 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005572/0.7857, allocations: 361.3 kB / 0.7362 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7857, allocations: 0.5 kB / 0.7362 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001492/0.7872, allocations: 351.2 kB / 0.7365 GB, free: 177.2 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.0022/0.7894, allocations: 1.577 MB / 0.738 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007349/0.7901, allocations: 0.51 MB / 0.7385 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.7901, allocations: 0 / 0.7385 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.7904, allocations: 159.3 kB / 0.7387 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.7917, allocations: 279.6 kB / 0.739 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00491/0.7966, allocations: 4.819 MB / 0.7437 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.7968, allocations: 240.1 kB / 0.7439 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004182/0.7972, allocations: 115.5 kB / 0.744 GB, free: 172 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.7974, allocations: 146.7 kB / 0.7441 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.7974, allocations: 0 / 0.7441 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05461/0.852, allocations: 21.53 MB / 0.7652 GB, free: 151 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.62, allocations: 6.969 kB / 0.7652 GB, free: 151 MB / 0.5606 GB " [Timeout remaining time 647] (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.00039984 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable traceSubstance.C in file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance.C from file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! Error: Could not read variable traceSubstance1.C in file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance1.C from file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.797738811932504]