Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001562/0.001562, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001854/0.001854, allocations: 216.9 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2163/0.2163, allocations: 44.26 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002323/0.002323, allocations: 72.98 kB / 467.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1177, allocations: 61.04 MB / 0.5162 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4282/0.5459, allocations: 161.5 MB / 0.6738 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.5478, allocations: 0.892 MB / 0.6747 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.548, allocations: 15.88 kB / 0.6747 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006337/0.5487, allocations: 190.7 kB / 0.6749 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005778/0.5492, allocations: 290.3 kB / 0.6752 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005635/0.5549, allocations: 2.195 MB / 0.6773 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001273/0.5561, allocations: 0.9866 MB / 0.6783 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.5566, allocations: 277.2 kB / 0.6786 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003812/0.5604, allocations: 1.721 MB / 0.6802 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000533/0.5609, allocations: 326.7 kB / 0.6805 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.903e-05/0.561, allocations: 48 kB / 0.6806 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004592/0.5656, allocations: 2.441 MB / 0.683 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.5659, allocations: 203.5 kB / 0.6832 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002856/0.5661, allocations: 227.1 kB / 0.6834 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.5694, allocations: 2.041 MB / 0.6854 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5694, allocations: 0 / 0.6854 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5694, allocations: 4 kB / 0.6854 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.5694, allocations: 0 / 0.6854 GB, free: 5.016 MB / 0.5137 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.001918/0.5713, allocations: 1.021 MB / 0.6864 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.5714, allocations: 8.031 kB / 0.6864 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.434e-05/0.5715, allocations: 74.53 kB / 0.6865 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002585/0.5717, allocations: 63.64 kB / 0.6865 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006194/0.5723, allocations: 315.9 kB / 0.6868 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.5724, allocations: 32.94 kB / 0.6869 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.5724, allocations: 43.88 kB / 0.6869 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.5735, allocations: 0.7706 MB / 0.6877 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.5736, allocations: 3.938 kB / 0.6877 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.274e-05/0.5736, allocations: 20.5 kB / 0.6877 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.5736, allocations: 8 kB / 0.6877 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009133/0.5745, allocations: 491.6 kB / 0.6882 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.5772, allocations: 1.561 MB / 0.6897 GB, free: 404 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007141/0.5779, allocations: 359.5 kB / 0.69 GB, free: 16 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.5782, allocations: 170.5 kB / 0.6902 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004527/0.5787, allocations: 131.9 kB / 0.6903 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.5787, allocations: 39.56 kB / 0.6903 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.5787, allocations: 0 / 0.6903 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.001138/0.5799, allocations: 0.4971 MB / 0.6908 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.5799, allocations: 106.8 kB / 0.6909 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.5804, allocations: 409.5 kB / 0.6913 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.5805, allocations: 33.7 kB / 0.6914 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.5806, allocations: 224.6 kB / 0.6916 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.905e-05/0.5807, allocations: 107 kB / 0.6917 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.5809, allocations: 78.06 kB / 0.6917 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.5811, allocations: 350.8 kB / 0.6921 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/0.5814, allocations: 208 kB / 0.6923 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000447/0.5819, allocations: 309.4 kB / 0.6926 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008335/0.5827, allocations: 496.5 kB / 0.693 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.5827, allocations: 3.938 kB / 0.693 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00107/0.5838, allocations: 0.6052 MB / 0.6936 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/0.5838, allocations: 63.39 kB / 0.6937 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5838, allocations: 4 kB / 0.6937 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.5838, allocations: 4 kB / 0.6937 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.5842, allocations: 83.89 kB / 0.6938 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/0.5842, allocations: 7.938 kB / 0.6938 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.5846, allocations: 51.95 kB / 0.6938 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.5846, allocations: 27.98 kB / 0.6939 GB, free: 11.82 MB / 0.5294 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.0002318/0.5849, allocations: 185.7 kB / 0.694 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.585, allocations: 39.77 kB / 0.6941 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.586, allocations: 491.2 kB / 0.6946 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.586, allocations: 4 kB / 0.6946 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.586, allocations: 0 / 0.6946 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.586, allocations: 11.92 kB / 0.6946 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/0.5887, allocations: 1.25 MB / 0.6958 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.5887, allocations: 8.031 kB / 0.6958 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.589, allocations: 59.89 kB / 0.6959 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.589, allocations: 4 kB / 0.6959 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.589, allocations: 11.94 kB / 0.6959 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.589, allocations: 8.812 kB / 0.6959 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.589, allocations: 4 kB / 0.6959 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000991/0.59, allocations: 0.6435 MB / 0.6965 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.5901, allocations: 47.7 kB / 0.6966 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.481e-05/0.5902, allocations: 19.83 kB / 0.6966 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.5906, allocations: 23.97 kB / 0.6966 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/0.5907, allocations: 27.95 kB / 0.6966 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-05/0.5908, allocations: 21.17 kB / 0.6966 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005008/0.5913, allocations: 359.1 kB / 0.697 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5913, allocations: 0 / 0.697 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001483/0.5927, allocations: 386.9 kB / 0.6974 GB, free: 8.117 MB / 0.5294 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.002725/0.5955, allocations: 1.665 MB / 0.699 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001095/0.5966, allocations: 0.5019 MB / 0.6995 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/0.5966, allocations: 4 kB / 0.6995 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.5969, allocations: 164.7 kB / 0.6996 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.5985, allocations: 277.6 kB / 0.6999 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007182/0.6057, allocations: 4.82 MB / 0.7046 GB, free: 364 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.606, allocations: 232.1 kB / 0.7048 GB, free: 108 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005533/0.6065, allocations: 120.3 kB / 0.7049 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.6068, allocations: 143.3 kB / 0.7051 GB, free: 15.84 MB / 0.545 GB Notification: Performance of SimCode: time 1.192e-06/0.6068, allocations: 0 / 0.7051 GB, free: 15.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05776/0.6645, allocations: 22.58 MB / 0.7271 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.55, allocations: 0 / 0.7271 GB, free: 9.227 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance.C from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! Error: Could not read variable traceSubstance1.C in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance1.C from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.740182854700834]