Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.062 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.00212/0.00212, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.234/0.234, allocations: 46.97 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 71.88 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3252, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2051/0.5302, allocations: 160.4 MB / 0.7172 GB, free: 3.242 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00201/0.5323, allocations: 0.8736 MB / 0.7181 GB, free: 2.363 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000293/0.5326, allocations: 15.88 kB / 0.7181 GB, free: 2.348 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006366/0.5332, allocations: 194.7 kB / 0.7183 GB, free: 2.156 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000609/0.5338, allocations: 298.3 kB / 0.7186 GB, free: 1.863 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005215/0.539, allocations: 1.962 MB / 0.7205 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.5404, allocations: 0.9867 MB / 0.7215 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000479/0.5408, allocations: 281.2 kB / 0.7217 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/0.5444, allocations: 1.589 MB / 0.7233 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005482/0.5449, allocations: 322.8 kB / 0.7236 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.179e-05/0.545, allocations: 48 kB / 0.7236 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004201/0.5492, allocations: 2.281 MB / 0.7259 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.5494, allocations: 215.4 kB / 0.7261 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003104/0.5497, allocations: 227.2 kB / 0.7263 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003657/0.5534, allocations: 1.975 MB / 0.7282 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.5534, allocations: 0 / 0.7282 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5534, allocations: 3.938 kB / 0.7282 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.395e-05/0.5534, allocations: 0 / 0.7282 GB, free: 7.977 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.002374/0.5558, allocations: 1.001 MB / 0.7292 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.5559, allocations: 12.03 kB / 0.7292 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.556, allocations: 70.53 kB / 0.7293 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003146/0.5563, allocations: 67.66 kB / 0.7293 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006936/0.557, allocations: 327.7 kB / 0.7296 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/0.557, allocations: 29 kB / 0.7297 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.907e-05/0.5571, allocations: 32 kB / 0.7297 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.5583, allocations: 0.7708 MB / 0.7305 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.5583, allocations: 0 / 0.7305 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.036e-05/0.5583, allocations: 16 kB / 0.7305 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.5583, allocations: 8 kB / 0.7305 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009547/0.5593, allocations: 0.4885 MB / 0.731 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002757/0.5621, allocations: 1.574 MB / 0.7325 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007649/0.5628, allocations: 363.6 kB / 0.7328 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.5632, allocations: 166.5 kB / 0.733 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004413/0.5636, allocations: 131.9 kB / 0.7331 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.5636, allocations: 38.56 kB / 0.7332 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.305e-06/0.5636, allocations: 3.938 kB / 0.7332 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001153/0.5648, allocations: 0.4929 MB / 0.7336 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/0.5649, allocations: 114.8 kB / 0.7338 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/0.5653, allocations: 401.5 kB / 0.7341 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/0.5654, allocations: 33.7 kB / 0.7342 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.5656, allocations: 224.6 kB / 0.7344 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.183e-05/0.5656, allocations: 107.1 kB / 0.7345 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.5658, allocations: 78 kB / 0.7346 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5659, allocations: 354.7 kB / 0.7349 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.5663, allocations: 208 kB / 0.7351 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.5668, allocations: 313.6 kB / 0.7354 GB, free: 196 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2853/0.8521, allocations: 470.3 kB / 0.7358 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.8521, allocations: 4.594 kB / 0.7358 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001346/0.8535, allocations: 0.6048 MB / 0.7364 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/0.8535, allocations: 61.17 kB / 0.7365 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.8535, allocations: 7.375 kB / 0.7365 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.8536, allocations: 5.531 kB / 0.7365 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.854, allocations: 87.88 kB / 0.7366 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.854, allocations: 9.75 kB / 0.7366 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.8543, allocations: 50.34 kB / 0.7366 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.489e-05/0.8544, allocations: 21.97 kB / 0.7367 GB, free: 174.6 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.000235/0.8546, allocations: 187.9 kB / 0.7368 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.8548, allocations: 44.09 kB / 0.7369 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.8558, allocations: 485.1 kB / 0.7374 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.8558, allocations: 8.547 kB / 0.7374 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.8558, allocations: 1.062 kB / 0.7374 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.8558, allocations: 13.05 kB / 0.7374 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.8581, allocations: 1.256 MB / 0.7386 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.8581, allocations: 6.031 kB / 0.7386 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.8584, allocations: 59.25 kB / 0.7387 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.8584, allocations: 3.625 kB / 0.7387 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.8584, allocations: 8.438 kB / 0.7387 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.8584, allocations: 4.547 kB / 0.7387 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.8584, allocations: 7.062 kB / 0.7387 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/0.859, allocations: 0.6474 MB / 0.7393 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.087e-05/0.8591, allocations: 49.64 kB / 0.7394 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.8592, allocations: 14.61 kB / 0.7394 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/0.8596, allocations: 21.42 kB / 0.7394 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.8597, allocations: 30.52 kB / 0.7394 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.8597, allocations: 19.64 kB / 0.7394 GB, free: 173 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003317/0.86, allocations: 367.6 kB / 0.7398 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.86, allocations: 0 / 0.7398 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009216/0.861, allocations: 351.9 kB / 0.7401 GB, free: 172.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.001649/0.8626, allocations: 1.57 MB / 0.7417 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007058/0.8633, allocations: 0.5043 MB / 0.7422 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8633, allocations: 0 / 0.7422 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.8636, allocations: 162.2 kB / 0.7423 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.8649, allocations: 284.7 kB / 0.7426 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/0.8694, allocations: 4.817 MB / 0.7473 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.8696, allocations: 239.7 kB / 0.7475 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000386/0.87, allocations: 120.1 kB / 0.7476 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.8702, allocations: 147.4 kB / 0.7478 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.8702, allocations: 0 / 0.7478 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04569/0.9158, allocations: 21.51 MB / 0.7688 GB, free: 145 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.6, allocations: 11.98 kB / 0.7688 GB, free: 145 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance.C from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! Error: Could not read variable traceSubstance1.C in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance1.C from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.70161866163835]