Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002033/0.002033, allocations: 111.1 kB / 20.44 MB, free: 1.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00252/0.00252, allocations: 213 kB / 23.73 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2329/0.2329, allocations: 46.94 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 83.88 kB / 0.4962 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3501, allocations: 66.08 MB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2074/0.5575, allocations: 160.4 MB / 0.7173 GB, free: 3.059 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.5595, allocations: 0.8852 MB / 0.7182 GB, free: 2.168 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.5597, allocations: 15.88 kB / 0.7182 GB, free: 2.152 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006945/0.5604, allocations: 202.6 kB / 0.7184 GB, free: 1.953 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005947/0.561, allocations: 294.4 kB / 0.7187 GB, free: 1.664 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005248/0.5662, allocations: 1.967 MB / 0.7206 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001414/0.5676, allocations: 0.9867 MB / 0.7216 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004698/0.5681, allocations: 273.3 kB / 0.7218 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003553/0.5717, allocations: 1.593 MB / 0.7234 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006201/0.5723, allocations: 326.7 kB / 0.7237 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.5724, allocations: 48 kB / 0.7237 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004817/0.5772, allocations: 2.285 MB / 0.726 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.5775, allocations: 207.5 kB / 0.7262 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003402/0.5778, allocations: 235.1 kB / 0.7264 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003723/0.5816, allocations: 1.967 MB / 0.7283 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5816, allocations: 4 kB / 0.7283 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5816, allocations: 0 / 0.7283 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.5816, allocations: 0 / 0.7283 GB, free: 7.777 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.001979/0.5835, allocations: 0.9974 MB / 0.7293 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.5836, allocations: 12.03 kB / 0.7293 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.702e-05/0.5837, allocations: 78.53 kB / 0.7294 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/0.584, allocations: 63.66 kB / 0.7294 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000674/0.5846, allocations: 315.9 kB / 0.7297 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.5847, allocations: 32.94 kB / 0.7298 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.5847, allocations: 43.94 kB / 0.7298 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.5858, allocations: 0.7631 MB / 0.7305 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.5858, allocations: 3.938 kB / 0.7305 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.5859, allocations: 20 kB / 0.7306 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.5859, allocations: 8 kB / 0.7306 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009034/0.5868, allocations: 492.2 kB / 0.731 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00262/0.5894, allocations: 1.574 MB / 0.7326 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000742/0.5902, allocations: 371.5 kB / 0.7329 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.5905, allocations: 166.5 kB / 0.7331 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004537/0.5909, allocations: 131.9 kB / 0.7332 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.591, allocations: 38.56 kB / 0.7333 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.884e-06/0.591, allocations: 0 / 0.7333 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001166/0.5922, allocations: 0.4925 MB / 0.7337 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.5922, allocations: 114.8 kB / 0.7338 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/0.5927, allocations: 405.5 kB / 0.7342 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.897e-05/0.5927, allocations: 37.7 kB / 0.7343 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.5929, allocations: 216.5 kB / 0.7345 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.58e-05/0.593, allocations: 115.2 kB / 0.7346 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.5931, allocations: 74.06 kB / 0.7347 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.5933, allocations: 346.8 kB / 0.735 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.5937, allocations: 208 kB / 0.7352 GB, free: 364 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2293/0.823, allocations: 306.2 kB / 0.7355 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000964/0.824, allocations: 481.5 kB / 0.7359 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.824, allocations: 0.6875 kB / 0.7359 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001289/0.8253, allocations: 0.6036 MB / 0.7365 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.494e-05/0.8253, allocations: 64.7 kB / 0.7366 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.8253, allocations: 3.719 kB / 0.7366 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/0.8254, allocations: 5.922 kB / 0.7366 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.8258, allocations: 84.88 kB / 0.7367 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.8258, allocations: 6.312 kB / 0.7367 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.8262, allocations: 56.61 kB / 0.7367 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-05/0.8262, allocations: 22.3 kB / 0.7368 GB, free: 174.3 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.0002468/0.8265, allocations: 191.3 kB / 0.7369 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.8266, allocations: 46.38 kB / 0.737 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.8277, allocations: 492.2 kB / 0.7375 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/0.8277, allocations: 3.625 kB / 0.7375 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8277, allocations: 1.094 kB / 0.7375 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.8277, allocations: 7.125 kB / 0.7375 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.8299, allocations: 1.255 MB / 0.7387 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.8299, allocations: 4.406 kB / 0.7387 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.8302, allocations: 59.94 kB / 0.7388 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.8302, allocations: 6.062 kB / 0.7388 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.8302, allocations: 7.938 kB / 0.7388 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.8302, allocations: 7.75 kB / 0.7388 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.8302, allocations: 3.203 kB / 0.7388 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006834/0.8309, allocations: 0.6455 MB / 0.7394 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.066e-05/0.831, allocations: 46.17 kB / 0.7395 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.628e-05/0.8311, allocations: 19.08 kB / 0.7395 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.8315, allocations: 24.47 kB / 0.7395 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.8315, allocations: 30.83 kB / 0.7395 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.746e-05/0.8316, allocations: 19.41 kB / 0.7395 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003592/0.832, allocations: 368.1 kB / 0.7399 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.832, allocations: 0 / 0.7399 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00108/0.833, allocations: 352 kB / 0.7402 GB, free: 172.5 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.001766/0.8348, allocations: 1.573 MB / 0.7418 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007028/0.8355, allocations: 0.5017 MB / 0.7423 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8355, allocations: 0 / 0.7423 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.8358, allocations: 154.3 kB / 0.7424 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.8371, allocations: 287.4 kB / 0.7427 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/0.842, allocations: 4.829 MB / 0.7474 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.8422, allocations: 239.9 kB / 0.7476 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004332/0.8426, allocations: 117.8 kB / 0.7477 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.8428, allocations: 155.3 kB / 0.7479 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of SimCode: time 7.52e-07/0.8428, allocations: 0 / 0.7479 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04537/0.8882, allocations: 21.5 MB / 0.7689 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.62, allocations: 4 kB / 0.7689 GB, free: 144.5 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance.C from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! Error: Could not read variable traceSubstance1.C in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance1.C from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.722124532330781]