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.001484/0.001484, allocations: 111.4 kB / 19.58 MB, free: 2.285 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.001483/0.001483, allocations: 212.7 kB / 22.87 MB, free: 5.641 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.453/1.453, allocations: 207.6 MB / 233.6 MB, free: 9.984 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.2195/0.2195, allocations: 44.24 MB / 330.1 MB, free: 9.539 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.002252/0.002252, allocations: 74.55 kB / 467.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.12, allocations: 61.04 MB / 0.5158 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4904/0.6104, allocations: 184.8 MB / 0.6963 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002091/0.6125, allocations: 0.9008 MB / 0.6972 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/0.6127, allocations: 15.88 kB / 0.6972 GB, free: 10 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007154/0.6134, allocations: 198.7 kB / 0.6974 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006052/0.614, allocations: 290.3 kB / 0.6976 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006165/0.6202, allocations: 2.194 MB / 0.6998 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.6216, allocations: 0.9867 MB / 0.7007 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005/0.6221, allocations: 284.2 kB / 0.701 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004694/0.6267, allocations: 1.713 MB / 0.7027 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000711/0.6275, allocations: 338.7 kB / 0.703 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.6276, allocations: 51.98 kB / 0.7031 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006131/0.6337, allocations: 2.531 MB / 0.7055 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004134/0.6341, allocations: 195.5 kB / 0.7057 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005018/0.6346, allocations: 270.9 kB / 0.706 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005255/0.6399, allocations: 2.049 MB / 0.708 GB, free: 14.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.6399, allocations: 0 / 0.708 GB, free: 14.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6399, allocations: 0 / 0.708 GB, free: 14.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.6399, allocations: 7.938 kB / 0.708 GB, free: 14.9 MB / 0.545 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.00238/0.6423, allocations: 1.017 MB / 0.709 GB, free: 13.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.6423, allocations: 8.031 kB / 0.709 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.6424, allocations: 74.53 kB / 0.7091 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.6427, allocations: 55.72 kB / 0.7091 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.6433, allocations: 323.9 kB / 0.7094 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.6433, allocations: 29 kB / 0.7095 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.083e-05/0.6434, allocations: 43.94 kB / 0.7095 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.6444, allocations: 0.7667 MB / 0.7102 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.6444, allocations: 0 / 0.7102 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.6445, allocations: 20 kB / 0.7103 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.6445, allocations: 8 kB / 0.7103 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008898/0.6454, allocations: 0.4917 MB / 0.7107 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002966/0.6483, allocations: 1.922 MB / 0.7126 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007766/0.6491, allocations: 369.3 kB / 0.713 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.6494, allocations: 166.4 kB / 0.7131 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004967/0.6499, allocations: 136 kB / 0.7133 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.924e-05/0.65, allocations: 42.5 kB / 0.7133 GB, free: 9.105 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 2.825e-06/0.65, allocations: 4 kB / 0.7133 GB, free: 9.102 MB / 0.545 GB Notification: Performance of matching and sorting (n=30): time 0.001193/0.6512, allocations: 0.4893 MB / 0.7138 GB, free: 8.605 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.6513, allocations: 106.8 kB / 0.7139 GB, free: 8.477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004877/0.6518, allocations: 397.6 kB / 0.7143 GB, free: 8.078 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.6518, allocations: 33.7 kB / 0.7143 GB, free: 8.039 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.652, allocations: 216.5 kB / 0.7145 GB, free: 7.824 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.968e-05/0.6521, allocations: 115 kB / 0.7146 GB, free: 7.711 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.6522, allocations: 81.95 kB / 0.7147 GB, free: 7.625 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.6524, allocations: 350.8 kB / 0.715 GB, free: 7.273 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.6528, allocations: 208 kB / 0.7152 GB, free: 7.059 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004522/0.6532, allocations: 313.4 kB / 0.7155 GB, free: 6.695 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008532/0.6541, allocations: 484.5 kB / 0.716 GB, free: 6.168 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.6541, allocations: 3.938 kB / 0.716 GB, free: 6.164 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001105/0.6552, allocations: 0.6013 MB / 0.7166 GB, free: 5.531 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.866e-05/0.6553, allocations: 63.41 kB / 0.7166 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.6553, allocations: 8.172 kB / 0.7167 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.6553, allocations: 4 kB / 0.7167 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.6557, allocations: 83.83 kB / 0.7167 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.6557, allocations: 4 kB / 0.7167 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/0.6561, allocations: 63.88 kB / 0.7168 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-05/0.6561, allocations: 24 kB / 0.7168 GB, free: 5.273 MB / 0.545 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.0002589/0.6564, allocations: 189.6 kB / 0.717 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.6565, allocations: 43.72 kB / 0.717 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.6576, allocations: 486.3 kB / 0.7175 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.6576, allocations: 4 kB / 0.7175 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6576, allocations: 0 / 0.7175 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.6576, allocations: 3.984 kB / 0.7175 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/0.6603, allocations: 1.366 MB / 0.7188 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6603, allocations: 12.12 kB / 0.7189 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.6606, allocations: 63.91 kB / 0.7189 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.6606, allocations: 8.078 kB / 0.7189 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.6606, allocations: 11.94 kB / 0.7189 GB, free: 3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.6606, allocations: 4 kB / 0.7189 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.6606, allocations: 3.984 kB / 0.7189 GB, free: 2.992 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008749/0.6615, allocations: 0.6357 MB / 0.7196 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.737e-05/0.6616, allocations: 47.69 kB / 0.7196 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.091e-05/0.6617, allocations: 27.83 kB / 0.7196 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.6621, allocations: 19.97 kB / 0.7197 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.748e-05/0.6622, allocations: 31.89 kB / 0.7197 GB, free: 2.195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/0.6622, allocations: 19.98 kB / 0.7197 GB, free: 2.176 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004453/0.6627, allocations: 359.1 kB / 0.7201 GB, free: 1.828 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6627, allocations: 0 / 0.7201 GB, free: 1.828 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001211/0.6639, allocations: 386.9 kB / 0.7204 GB, free: 1.449 MB / 0.545 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.002384/0.6663, allocations: 1.665 MB / 0.722 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009169/0.6672, allocations: 0.5055 MB / 0.7225 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6672, allocations: 0 / 0.7225 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003332/0.6675, allocations: 152.9 kB / 0.7227 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.6689, allocations: 277 kB / 0.723 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006634/0.6756, allocations: 4.82 MB / 0.7277 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.6758, allocations: 232.1 kB / 0.7279 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004352/0.6763, allocations: 128.2 kB / 0.728 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.6765, allocations: 143.4 kB / 0.7281 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of SimCode: time 8.22e-07/0.6765, allocations: 0 / 0.7281 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05897/0.7355, allocations: 20.96 MB / 0.7486 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.71, allocations: 11.3 kB / 0.7486 GB, free: 4.207 MB / 0.5762 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 & /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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.770725042035338]