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.001324/0.001324, allocations: 111.8 kB / 20.43 MB, free: 1.309 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.001476/0.001476, allocations: 214.3 kB / 23.75 MB, free: 4.535 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.2213/0.2213, allocations: 46.94 MB / 360.9 MB, free: 4.258 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.001962/0.001962, allocations: 71.89 kB / 0.4962 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3302, allocations: 66.04 MB / 0.5606 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5263/0.8564, allocations: 185.5 MB / 0.7418 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.858, allocations: 0.8977 MB / 0.7427 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.8582, allocations: 16.12 kB / 0.7427 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006186/0.8588, allocations: 216.5 kB / 0.7429 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004917/0.8593, allocations: 290.5 kB / 0.7432 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004225/0.8636, allocations: 1.965 MB / 0.7451 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.8647, allocations: 1.001 MB / 0.7461 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004708/0.8652, allocations: 278.9 kB / 0.7464 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00336/0.8685, allocations: 1.602 MB / 0.7479 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000523/0.8691, allocations: 343.8 kB / 0.7483 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.048e-05/0.8691, allocations: 49.16 kB / 0.7483 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004669/0.8738, allocations: 2.892 MB / 0.7511 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002392/0.874, allocations: 202.3 kB / 0.7513 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.8744, allocations: 273.1 kB / 0.7516 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003255/0.8776, allocations: 2.058 MB / 0.7536 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.8776, allocations: 2.656 kB / 0.7536 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8776, allocations: 0 / 0.7536 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.8776, allocations: 0.9688 kB / 0.7536 GB, free: 1.523 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.002235/0.8799, allocations: 1.013 MB / 0.7546 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.8799, allocations: 9.406 kB / 0.7546 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.754e-05/0.88, allocations: 78.19 kB / 0.7547 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.8803, allocations: 61.95 kB / 0.7547 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005763/0.8809, allocations: 322.9 kB / 0.7551 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.8809, allocations: 27.56 kB / 0.7551 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.8809, allocations: 35.44 kB / 0.7551 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007989/0.8817, allocations: 0.5184 MB / 0.7556 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.8817, allocations: 0 / 0.7556 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.475e-05/0.8818, allocations: 16.44 kB / 0.7556 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.8818, allocations: 10.34 kB / 0.7556 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00073/0.8825, allocations: 0.4896 MB / 0.7561 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.885, allocations: 1.944 MB / 0.758 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005714/0.8856, allocations: 356.8 kB / 0.7584 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.8858, allocations: 174.2 kB / 0.7585 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004018/0.8862, allocations: 131.9 kB / 0.7587 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.8863, allocations: 46.48 kB / 0.7587 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.8863, allocations: 0.6875 kB / 0.7587 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.0009621/0.8872, allocations: 0.493 MB / 0.7592 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.8873, allocations: 109.5 kB / 0.7593 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.8876, allocations: 404.6 kB / 0.7597 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.8877, allocations: 38.45 kB / 0.7597 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.8878, allocations: 210.7 kB / 0.7599 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.8879, allocations: 111.8 kB / 0.76 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.888, allocations: 77.36 kB / 0.7601 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.8881, allocations: 352.4 kB / 0.7604 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.8884, allocations: 149.2 kB / 0.7606 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.8887, allocations: 261.2 kB / 0.7608 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006015/0.8893, allocations: 486.1 kB / 0.7613 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.8893, allocations: 0.8438 kB / 0.7613 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008637/0.8902, allocations: 0.5489 MB / 0.7618 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/0.8902, allocations: 58.97 kB / 0.7619 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.8902, allocations: 6.969 kB / 0.7619 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.8902, allocations: 7.953 kB / 0.7619 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.8906, allocations: 84.81 kB / 0.762 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.8906, allocations: 8.688 kB / 0.762 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.8909, allocations: 52.47 kB / 0.762 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.891, allocations: 28.45 kB / 0.7621 GB, free: 13.87 MB / 0.5762 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.0002114/0.8912, allocations: 189.2 kB / 0.7622 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.8913, allocations: 40.95 kB / 0.7623 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008547/0.8922, allocations: 497.2 kB / 0.7627 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.8922, allocations: 7.5 kB / 0.7628 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.8922, allocations: 3.797 kB / 0.7628 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.8922, allocations: 0 / 0.7628 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.8945, allocations: 1.364 MB / 0.7641 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.8945, allocations: 3.188 kB / 0.7641 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.8948, allocations: 61.83 kB / 0.7642 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.8948, allocations: 2.562 kB / 0.7642 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.8948, allocations: 15.31 kB / 0.7642 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.8948, allocations: 3.375 kB / 0.7642 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8948, allocations: 0.9062 kB / 0.7642 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007661/0.8956, allocations: 0.6443 MB / 0.7648 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-05/0.8956, allocations: 54.44 kB / 0.7649 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.8957, allocations: 13.12 kB / 0.7649 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.8961, allocations: 20.58 kB / 0.7649 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.8962, allocations: 30.28 kB / 0.7649 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.006e-05/0.8962, allocations: 23.56 kB / 0.7649 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003495/0.8966, allocations: 362.2 kB / 0.7653 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.8966, allocations: 0.8125 kB / 0.7653 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001063/0.8977, allocations: 357.8 kB / 0.7656 GB, free: 12.57 MB / 0.5762 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.8997, allocations: 1.575 MB / 0.7672 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007697/0.9004, allocations: 451.2 kB / 0.7676 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.9005, allocations: 0 / 0.7676 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.9007, allocations: 158.7 kB / 0.7677 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.9021, allocations: 291.1 kB / 0.768 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005674/0.9078, allocations: 4.599 MB / 0.7725 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.9083, allocations: 0.8409 MB / 0.7733 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004429/0.9087, allocations: 113.6 kB / 0.7734 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.9089, allocations: 143.8 kB / 0.7736 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.9089, allocations: 0.9688 kB / 0.7736 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0506/0.9595, allocations: 20.13 MB / 0.7932 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/13.06, allocations: 5.438 kB / 0.7932 GB, free: 2.672 MB / 0.5762 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: 16.070791871999972]