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.001718/0.001718, allocations: 113.6 kB / 17.13 MB, free: 5.754 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.001771/0.001771, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.519/1.519, allocations: 207.6 MB / 230.5 MB, free: 3.945 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.3241/0.3241, allocations: 44.23 MB / 326.5 MB, free: 6.793 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.002167/0.002167, allocations: 71.89 kB / 462.2 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.303, allocations: 60.99 MB / 0.5109 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5127/0.8157, allocations: 186.9 MB / 0.6934 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.8176, allocations: 0.8974 MB / 0.6943 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.8178, allocations: 9.812 kB / 0.6943 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006214/0.8184, allocations: 213.7 kB / 0.6945 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005077/0.8189, allocations: 292 kB / 0.6948 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006047/0.825, allocations: 2.161 MB / 0.6969 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.826, allocations: 0.9696 MB / 0.6979 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000394/0.8264, allocations: 300.2 kB / 0.6981 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003749/0.8302, allocations: 1.709 MB / 0.6998 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004547/0.8306, allocations: 337.4 kB / 0.7001 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.5e-05/0.8307, allocations: 46.22 kB / 0.7002 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004616/0.8353, allocations: 3.018 MB / 0.7031 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002272/0.8355, allocations: 200.8 kB / 0.7033 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003047/0.8359, allocations: 266.1 kB / 0.7036 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003685/0.8395, allocations: 2.129 MB / 0.7057 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.8395, allocations: 0 / 0.7057 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8395, allocations: 0 / 0.7057 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.8396, allocations: 2.531 kB / 0.7057 GB, free: 15.22 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.002094/0.8417, allocations: 1.093 MB / 0.7067 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.8417, allocations: 18.73 kB / 0.7067 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.82e-05/0.8418, allocations: 76.94 kB / 0.7068 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002629/0.842, allocations: 52.94 kB / 0.7069 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006083/0.8427, allocations: 390.8 kB / 0.7072 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.8427, allocations: 28.27 kB / 0.7073 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.648e-05/0.8427, allocations: 40.66 kB / 0.7073 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008148/0.8436, allocations: 0.5261 MB / 0.7078 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.8436, allocations: 0 / 0.7078 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.8436, allocations: 15.97 kB / 0.7078 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.8436, allocations: 9.719 kB / 0.7078 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007741/0.8444, allocations: 499.5 kB / 0.7083 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.8471, allocations: 1.966 MB / 0.7102 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006806/0.8477, allocations: 443.5 kB / 0.7107 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.848, allocations: 168.7 kB / 0.7108 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009204/0.8489, allocations: 0.9499 MB / 0.7117 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.849, allocations: 41.72 kB / 0.7118 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.849, allocations: 0 / 0.7118 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.000994/0.85, allocations: 0.4949 MB / 0.7123 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.85, allocations: 110.8 kB / 0.7124 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.8504, allocations: 397.1 kB / 0.7128 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.8505, allocations: 32.2 kB / 0.7128 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.8506, allocations: 229.7 kB / 0.713 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.443e-05/0.8507, allocations: 100.9 kB / 0.7131 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.8508, allocations: 83.94 kB / 0.7132 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.851, allocations: 350.7 kB / 0.7135 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.8513, allocations: 149.6 kB / 0.7137 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003635/0.8517, allocations: 262.6 kB / 0.7139 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006852/0.8523, allocations: 489.2 kB / 0.7144 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.8523, allocations: 3.938 kB / 0.7144 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009364/0.8533, allocations: 0.5453 MB / 0.7149 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/0.8533, allocations: 62.09 kB / 0.715 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.8533, allocations: 2.75 kB / 0.715 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.8534, allocations: 7.781 kB / 0.715 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.8537, allocations: 88.22 kB / 0.7151 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.8537, allocations: 5.922 kB / 0.7151 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.8541, allocations: 57.14 kB / 0.7151 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.8541, allocations: 22.53 kB / 0.7151 GB, free: 9.203 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.0002131/0.8543, allocations: 190.4 kB / 0.7153 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.8545, allocations: 47.03 kB / 0.7154 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009302/0.8554, allocations: 490.5 kB / 0.7158 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.8554, allocations: 2.562 kB / 0.7158 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8554, allocations: 3.672 kB / 0.7158 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8554, allocations: 0 / 0.7158 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.8584, allocations: 2.433 MB / 0.7182 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.8584, allocations: 4.344 kB / 0.7182 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.8587, allocations: 63.44 kB / 0.7183 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.8587, allocations: 5.859 kB / 0.7183 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.8587, allocations: 14.55 kB / 0.7183 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.8588, allocations: 7.562 kB / 0.7183 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8588, allocations: 2.281 kB / 0.7183 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008269/0.8596, allocations: 0.6367 MB / 0.7189 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.8597, allocations: 128.2 kB / 0.7191 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/0.8598, allocations: 17.56 kB / 0.7191 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.8602, allocations: 26.81 kB / 0.7191 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.8603, allocations: 24.62 kB / 0.7191 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.8603, allocations: 22.58 kB / 0.7191 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004097/0.8607, allocations: 362.1 kB / 0.7195 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.8607, allocations: 0 / 0.7195 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001214/0.862, allocations: 386.6 kB / 0.7199 GB, free: 5.988 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.002322/0.8643, allocations: 1.673 MB / 0.7215 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008143/0.8651, allocations: 451.8 kB / 0.7219 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.8651, allocations: 8.156 kB / 0.7219 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000277/0.8654, allocations: 154.8 kB / 0.7221 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.8668, allocations: 280.7 kB / 0.7223 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006417/0.8732, allocations: 4.612 MB / 0.7269 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.8737, allocations: 0.8359 MB / 0.7277 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005085/0.8742, allocations: 123 kB / 0.7278 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.8744, allocations: 145.1 kB / 0.7279 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/0.8744, allocations: 0 / 0.7279 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05475/0.9292, allocations: 20.82 MB / 0.7483 GB, free: 13.13 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.279/10.21, allocations: 7.875 kB / 0.7483 GB, free: 13.12 MB / 0.545 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: 13.155562745872885]