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.000851/0.000851, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008819/0.0008819, allocations: 170 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8995/0.8995, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2423/0.2423, allocations: 32.79 MB / 293.5 MB, free: 1.242 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 439.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.626e-05, allocations: 3.969 kB / 439.6 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2842/0.2842, allocations: 160.3 MB / 0.5858 GB, free: 4.281 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.2859, allocations: 0.8906 MB / 0.5867 GB, free: 3.391 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.2861, allocations: 11.88 kB / 0.5867 GB, free: 3.379 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005601/0.2867, allocations: 202.6 kB / 0.5869 GB, free: 3.18 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004613/0.2871, allocations: 302 kB / 0.5872 GB, free: 2.883 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003877/0.291, allocations: 2 MB / 0.5892 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009738/0.292, allocations: 0.9838 MB / 0.5901 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.2924, allocations: 265.4 kB / 0.5904 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.2952, allocations: 1.733 MB / 0.5921 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004094/0.2956, allocations: 303.2 kB / 0.5923 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.454e-05/0.2957, allocations: 44 kB / 0.5924 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.2988, allocations: 2.304 MB / 0.5946 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002158/0.299, allocations: 207.4 kB / 0.5948 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.2992, allocations: 195.6 kB / 0.595 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.3024, allocations: 2.221 MB / 0.5972 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3024, allocations: 0 / 0.5972 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3024, allocations: 4 kB / 0.5972 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.3024, allocations: 4 kB / 0.5972 GB, free: 8.621 MB / 0.4948 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.001824/0.3042, allocations: 0.9974 MB / 0.5982 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3043, allocations: 8.031 kB / 0.5982 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.511e-05/0.3044, allocations: 74.52 kB / 0.5983 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.3045, allocations: 63.72 kB / 0.5983 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.305, allocations: 320.3 kB / 0.5986 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.305, allocations: 29 kB / 0.5986 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.305, allocations: 35.38 kB / 0.5987 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007584/0.3058, allocations: 0.7791 MB / 0.5994 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3058, allocations: 0 / 0.5994 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.3058, allocations: 20 kB / 0.5995 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.3059, allocations: 8 kB / 0.5995 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006663/0.3065, allocations: 495.3 kB / 0.5999 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.3085, allocations: 1.559 MB / 0.6015 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004979/0.309, allocations: 362.2 kB / 0.6018 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.3092, allocations: 174.5 kB / 0.602 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003588/0.3095, allocations: 125.6 kB / 0.6021 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.3096, allocations: 42.5 kB / 0.6021 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.785e-06/0.3096, allocations: 0 / 0.6021 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.0008512/0.3104, allocations: 0.4962 MB / 0.6026 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.3105, allocations: 106.8 kB / 0.6027 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/0.3108, allocations: 401.5 kB / 0.6031 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.3109, allocations: 37.7 kB / 0.6031 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.311, allocations: 224.5 kB / 0.6034 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/0.3111, allocations: 103.3 kB / 0.6035 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/0.3112, allocations: 82.02 kB / 0.6035 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3113, allocations: 353.1 kB / 0.6039 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.3115, allocations: 200 kB / 0.6041 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/0.3119, allocations: 322.8 kB / 0.6044 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/0.3124, allocations: 486.8 kB / 0.6048 GB, free: 356 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.3124, allocations: 4 kB / 0.6048 GB, free: 352 kB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006664/0.3131, allocations: 0.6083 MB / 0.6054 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/0.3131, allocations: 59.41 kB / 0.6055 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3131, allocations: 384 / 0.6055 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3131, allocations: 15.98 kB / 0.6055 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.3133, allocations: 87.83 kB / 0.6056 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3134, allocations: 7.984 kB / 0.6056 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.3135, allocations: 47.62 kB / 0.6056 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.3136, allocations: 23.98 kB / 0.6057 GB, free: 15.46 MB / 0.5105 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.000167/0.3138, allocations: 183.3 kB / 0.6058 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.32e-05/0.3138, allocations: 47.66 kB / 0.6059 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006483/0.3145, allocations: 497.3 kB / 0.6064 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.3145, allocations: 4 kB / 0.6064 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3145, allocations: 0 / 0.6064 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3145, allocations: 0 / 0.6064 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.316, allocations: 1.253 MB / 0.6076 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.316, allocations: 0 / 0.6076 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.3161, allocations: 63.98 kB / 0.6076 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.3162, allocations: 7.984 kB / 0.6077 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3162, allocations: 8 kB / 0.6077 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.3162, allocations: 14.19 kB / 0.6077 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3162, allocations: 0.9375 kB / 0.6077 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005344/0.3167, allocations: 0.6402 MB / 0.6083 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.3168, allocations: 51.64 kB / 0.6083 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.3168, allocations: 15.94 kB / 0.6084 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.317, allocations: 15.98 kB / 0.6084 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.3171, allocations: 27.95 kB / 0.6084 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.3171, allocations: 19.98 kB / 0.6084 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002705/0.3174, allocations: 363.1 kB / 0.6088 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3174, allocations: 10.25 kB / 0.6088 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007993/0.3182, allocations: 351 kB / 0.6091 GB, free: 11.81 MB / 0.5105 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.001466/0.3197, allocations: 1.611 MB / 0.6107 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000529/0.3202, allocations: 0.4978 MB / 0.6112 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3202, allocations: 0 / 0.6112 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.3205, allocations: 157.7 kB / 0.6113 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008167/0.3213, allocations: 294.8 kB / 0.6116 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.3254, allocations: 4.801 MB / 0.6163 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.3256, allocations: 240 kB / 0.6165 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003077/0.3259, allocations: 112.7 kB / 0.6166 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.3261, allocations: 148.4 kB / 0.6168 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/0.3261, allocations: 0 / 0.6168 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1776/0.5037, allocations: 21.63 MB / 0.6379 GB, free: 166.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.243/7.747, allocations: 3.406 kB / 0.6379 GB, free: 166.5 MB / 0.5261 GB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins/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: 9.838825102895498]