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.001367/0.001367, 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.001549/0.001549, allocations: 212.4 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.232/0.232, allocations: 44.93 MB / 358.8 MB, free: 6.09 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.002271/0.002271, allocations: 67.89 kB / 0.493 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3579, allocations: 65.47 MB / 0.557 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2155/0.5734, allocations: 160.4 MB / 0.7136 GB, free: 6.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.5754, allocations: 0.8736 MB / 0.7145 GB, free: 5.691 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.5756, allocations: 15.88 kB / 0.7145 GB, free: 5.676 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007559/0.5764, allocations: 198.7 kB / 0.7147 GB, free: 5.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006209/0.577, allocations: 294.3 kB / 0.7149 GB, free: 5.191 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005523/0.5825, allocations: 1.969 MB / 0.7169 GB, free: 3.223 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.5839, allocations: 0.9867 MB / 0.7178 GB, free: 2.234 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004368/0.5843, allocations: 277.2 kB / 0.7181 GB, free: 1.961 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003966/0.5883, allocations: 1.589 MB / 0.7196 GB, free: 376 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006991/0.589, allocations: 326.7 kB / 0.72 GB, free: 48 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.5892, allocations: 48 kB / 0.72 GB, free: 0 / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00528/0.5945, allocations: 2.289 MB / 0.7222 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003828/0.5948, allocations: 203.5 kB / 0.7224 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.5953, allocations: 231.2 kB / 0.7227 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004458/0.5997, allocations: 1.979 MB / 0.7246 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.5997, allocations: 0 / 0.7246 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.755e-06/0.5997, allocations: 0 / 0.7246 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.04e-05/0.5998, allocations: 7.922 kB / 0.7246 GB, free: 11.29 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.002668/0.6024, allocations: 0.9935 MB / 0.7256 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.6025, allocations: 8.031 kB / 0.7256 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.6026, allocations: 78.47 kB / 0.7256 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003242/0.6029, allocations: 67.66 kB / 0.7257 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007376/0.6036, allocations: 323.8 kB / 0.726 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.6037, allocations: 25 kB / 0.726 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.829e-05/0.6038, allocations: 36 kB / 0.7261 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.6049, allocations: 0.7669 MB / 0.7268 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.6049, allocations: 4 kB / 0.7268 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.821e-05/0.605, allocations: 16 kB / 0.7268 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.605, allocations: 8 kB / 0.7269 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009189/0.6059, allocations: 495.5 kB / 0.7273 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/0.6087, allocations: 1.57 MB / 0.7289 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007414/0.6094, allocations: 363.7 kB / 0.7292 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.6098, allocations: 178.2 kB / 0.7294 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004664/0.6102, allocations: 127.9 kB / 0.7295 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.6103, allocations: 46.5 kB / 0.7295 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.334e-06/0.6103, allocations: 0 / 0.7295 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.00117/0.6115, allocations: 0.4894 MB / 0.73 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.6115, allocations: 114.8 kB / 0.7301 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/0.612, allocations: 401.5 kB / 0.7305 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.6121, allocations: 33.7 kB / 0.7305 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.6123, allocations: 220.5 kB / 0.7308 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.29e-05/0.6123, allocations: 107.1 kB / 0.7309 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.6125, allocations: 78.06 kB / 0.7309 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.6127, allocations: 350.7 kB / 0.7313 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.613, allocations: 212 kB / 0.7315 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/0.6135, allocations: 309.7 kB / 0.7318 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007812/0.6143, allocations: 483.7 kB / 0.7322 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.6143, allocations: 4 kB / 0.7322 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001103/0.6154, allocations: 0.6015 MB / 0.7328 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/0.6154, allocations: 59.41 kB / 0.7329 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.6154, allocations: 4 kB / 0.7329 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.6155, allocations: 4 kB / 0.7329 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.6159, allocations: 87.83 kB / 0.733 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.6159, allocations: 7.984 kB / 0.733 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.6162, allocations: 47.61 kB / 0.733 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/0.6163, allocations: 24.05 kB / 0.733 GB, free: 2.113 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.0002616/0.6165, allocations: 201.7 kB / 0.7332 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.6167, allocations: 51.66 kB / 0.7333 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.6178, allocations: 487.8 kB / 0.7337 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/0.6178, allocations: 4 kB / 0.7337 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.6178, allocations: 8 kB / 0.7338 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6178, allocations: 0 / 0.7338 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.6205, allocations: 1.254 MB / 0.735 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.6205, allocations: 7.938 kB / 0.735 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2521/0.8726, allocations: 57.33 kB / 0.735 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-05/0.8726, allocations: 5.328 kB / 0.735 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.918e-05/0.8727, allocations: 12.44 kB / 0.7351 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/0.8727, allocations: 4.062 kB / 0.7351 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.8727, allocations: 2.312 kB / 0.7351 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.8738, allocations: 0.6362 MB / 0.7357 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.8739, allocations: 48.12 kB / 0.7357 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.936e-05/0.874, allocations: 15.45 kB / 0.7357 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.8745, allocations: 21.25 kB / 0.7358 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.55e-05/0.8746, allocations: 27.69 kB / 0.7358 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.555e-05/0.8746, allocations: 25.42 kB / 0.7358 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005856/0.8752, allocations: 363.8 kB / 0.7362 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8752, allocations: 3.719 kB / 0.7362 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00151/0.8767, allocations: 354.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.002398/0.8791, allocations: 1.564 MB / 0.738 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008418/0.88, allocations: 0.5023 MB / 0.7385 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.88, allocations: 7.906 kB / 0.7385 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.8802, allocations: 152.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.001382/0.8816, allocations: 295.8 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.00516/0.8868, allocations: 4.821 MB / 0.7437 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.887, allocations: 233.2 kB / 0.7439 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004173/0.8874, allocations: 117.1 kB / 0.744 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.8876, allocations: 145.1 kB / 0.7441 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/0.8876, allocations: 0 / 0.7441 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04493/0.9325, allocations: 21.53 MB / 0.7652 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.64, allocations: 3.938 kB / 0.7652 GB, free: 151.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.833447630982846]