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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 114.5 kB / 17.08 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 191.7 kB / 20.02 MB, free: 3.039 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.485/1.485, allocations: 205.1 MB / 227.9 MB, free: 4.336 MB / 174.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.3364/0.3364, allocations: 43.51 MB / 320.8 MB, free: 9.02 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 75.89 kB / 450 MB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2936, allocations: 57.79 MB / 0.4959 GB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5335/0.8272, allocations: 186.3 MB / 0.6778 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.8291, allocations: 0.8913 MB / 0.6787 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.8294, allocations: 10.38 kB / 0.6787 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.83, allocations: 209 kB / 0.6789 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000496/0.8305, allocations: 282 kB / 0.6791 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006092/0.8366, allocations: 2.158 MB / 0.6813 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.838, allocations: 0.9812 MB / 0.6822 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005087/0.8385, allocations: 329.1 kB / 0.6825 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004518/0.843, allocations: 1.692 MB / 0.6842 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006662/0.8437, allocations: 321.3 kB / 0.6845 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.8438, allocations: 45.44 kB / 0.6845 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005831/0.8497, allocations: 2.936 MB / 0.6874 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003599/0.8501, allocations: 201.5 kB / 0.6876 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004683/0.8505, allocations: 271.3 kB / 0.6878 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005065/0.8556, allocations: 2.124 MB / 0.6899 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8556, allocations: 3.375 kB / 0.6899 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.066e-06/0.8557, allocations: 0 / 0.6899 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.8557, allocations: 1.203 kB / 0.6899 GB, free: 1.086 MB / 0.4981 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.002121/0.8578, allocations: 1.097 MB / 0.691 GB, free: 16.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.8578, allocations: 12.92 kB / 0.691 GB, free: 16.35 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.516e-05/0.8579, allocations: 72.72 kB / 0.6911 GB, free: 16.31 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/0.8582, allocations: 60.03 kB / 0.6911 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.8587, allocations: 381.1 kB / 0.6915 GB, free: 16.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.8587, allocations: 26.94 kB / 0.6915 GB, free: 16.05 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.8588, allocations: 38.31 kB / 0.6916 GB, free: 16.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007576/0.8596, allocations: 0.5219 MB / 0.6921 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.8596, allocations: 3.938 kB / 0.6921 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.8596, allocations: 17.03 kB / 0.6921 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.8597, allocations: 11.73 kB / 0.6921 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007632/0.8604, allocations: 499.7 kB / 0.6926 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.8628, allocations: 1.977 MB / 0.6945 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006498/0.8635, allocations: 453.1 kB / 0.6949 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.8637, allocations: 183 kB / 0.6951 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008802/0.8646, allocations: 0.9545 MB / 0.696 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.8647, allocations: 37.94 kB / 0.6961 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.8647, allocations: 0.8438 kB / 0.6961 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.001043/0.8657, allocations: 0.4951 MB / 0.6966 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.712e-05/0.8658, allocations: 109.6 kB / 0.6967 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.8662, allocations: 397.8 kB / 0.6971 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.8663, allocations: 35.98 kB / 0.6971 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.8664, allocations: 215.2 kB / 0.6973 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/0.8665, allocations: 113.2 kB / 0.6974 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.8666, allocations: 79.89 kB / 0.6975 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.8668, allocations: 351.8 kB / 0.6978 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.8671, allocations: 149.3 kB / 0.698 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.8674, allocations: 268.3 kB / 0.6982 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006623/0.8681, allocations: 480.1 kB / 0.6987 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.8681, allocations: 3.438 kB / 0.6987 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009222/0.869, allocations: 0.5521 MB / 0.6992 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.333e-05/0.8691, allocations: 61.42 kB / 0.6993 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.8691, allocations: 3.156 kB / 0.6993 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.8691, allocations: 5.719 kB / 0.6993 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.8695, allocations: 87.2 kB / 0.6994 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.8695, allocations: 11.75 kB / 0.6994 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.8698, allocations: 49.8 kB / 0.6994 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/0.8699, allocations: 22.62 kB / 0.6994 GB, free: 12.1 MB / 0.5137 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.0002053/0.8701, allocations: 180.4 kB / 0.6996 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.8702, allocations: 55.72 kB / 0.6997 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009345/0.8712, allocations: 488.2 kB / 0.7001 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.8712, allocations: 4.719 kB / 0.7001 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8712, allocations: 0.9375 kB / 0.7001 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.8712, allocations: 5.938 kB / 0.7001 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002949/0.8742, allocations: 2.443 MB / 0.7025 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.8742, allocations: 2.594 kB / 0.7025 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.8745, allocations: 67.22 kB / 0.7026 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.8745, allocations: 2.406 kB / 0.7026 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.8745, allocations: 13.83 kB / 0.7026 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-06/0.8745, allocations: 9.281 kB / 0.7026 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.8745, allocations: 3.75 kB / 0.7026 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007757/0.8753, allocations: 0.6417 MB / 0.7033 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.8754, allocations: 124.9 kB / 0.7034 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.78e-05/0.8755, allocations: 14.3 kB / 0.7034 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.8759, allocations: 20.69 kB / 0.7034 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.876, allocations: 29.62 kB / 0.7034 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.876, allocations: 20.69 kB / 0.7035 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003624/0.8764, allocations: 366.5 kB / 0.7038 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8764, allocations: 0.75 kB / 0.7038 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001074/0.8775, allocations: 381.5 kB / 0.7042 GB, free: 9.332 MB / 0.5137 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.002284/0.8798, allocations: 1.66 MB / 0.7058 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007698/0.8806, allocations: 471.3 kB / 0.7062 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8806, allocations: 4.062 kB / 0.7062 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.8809, allocations: 168.4 kB / 0.7064 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.8823, allocations: 281.2 kB / 0.7067 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005628/0.8879, allocations: 4.605 MB / 0.7112 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.8884, allocations: 0.8409 MB / 0.712 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004476/0.8889, allocations: 114.1 kB / 0.7121 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.8891, allocations: 147.7 kB / 0.7122 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of SimCode: time 8.02e-07/0.8891, allocations: 1.031 kB / 0.7122 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05301/0.9421, allocations: 20.76 MB / 0.7325 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.175/10.12, allocations: 15.88 kB / 0.7325 GB, free: 5.023 MB / 0.5294 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 12.989868453936651]