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.001299/0.001299, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001624/0.001624, allocations: 212.7 kB / 22.99 MB, free: 4.605 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.41/1.41, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2147/0.2147, allocations: 44.26 MB / 330.3 MB, free: 9.312 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.002321/0.002321, allocations: 67.91 kB / 467.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1234, allocations: 61.04 MB / 0.5161 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4389/0.5623, allocations: 161.5 MB / 0.6738 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.5644, allocations: 0.8852 MB / 0.6747 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004011/0.5648, allocations: 11.92 kB / 0.6747 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008266/0.5657, allocations: 198.7 kB / 0.6749 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008629/0.5665, allocations: 294.3 kB / 0.6752 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006586/0.5731, allocations: 2.183 MB / 0.6773 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00157/0.5747, allocations: 0.9828 MB / 0.6783 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006328/0.5753, allocations: 277.2 kB / 0.6785 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004421/0.5797, allocations: 1.726 MB / 0.6802 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007777/0.5805, allocations: 318.8 kB / 0.6805 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.5807, allocations: 51.94 kB / 0.6806 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005508/0.5862, allocations: 2.441 MB / 0.683 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003787/0.5866, allocations: 199.5 kB / 0.6832 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004522/0.587, allocations: 235 kB / 0.6834 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005051/0.5921, allocations: 2.041 MB / 0.6854 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.5921, allocations: 3.938 kB / 0.6854 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5921, allocations: 0 / 0.6854 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.416e-05/0.5921, allocations: 0 / 0.6854 GB, free: 5.043 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.002798/0.5949, allocations: 1.017 MB / 0.6864 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.595, allocations: 12.03 kB / 0.6864 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.5951, allocations: 75.09 kB / 0.6865 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003003/0.5954, allocations: 59.7 kB / 0.6865 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007344/0.5961, allocations: 323.8 kB / 0.6868 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.5962, allocations: 29 kB / 0.6869 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-05/0.5962, allocations: 39.94 kB / 0.6869 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.5974, allocations: 0.7706 MB / 0.6876 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.5975, allocations: 0.5625 kB / 0.6876 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.464e-05/0.5975, allocations: 19.94 kB / 0.6877 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.5975, allocations: 15.98 kB / 0.6877 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.5986, allocations: 491.6 kB / 0.6881 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003214/0.6018, allocations: 1.553 MB / 0.6897 GB, free: 440 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008358/0.6026, allocations: 370 kB / 0.69 GB, free: 44 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/0.603, allocations: 170.7 kB / 0.6902 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005221/0.6035, allocations: 127.9 kB / 0.6903 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.298e-05/0.6036, allocations: 38.56 kB / 0.6903 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 2.535e-06/0.6036, allocations: 0 / 0.6903 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.00124/0.6048, allocations: 0.4933 MB / 0.6908 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.6049, allocations: 110.8 kB / 0.6909 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/0.6054, allocations: 405.5 kB / 0.6913 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/0.6055, allocations: 33.7 kB / 0.6913 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.6056, allocations: 228.4 kB / 0.6916 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.428e-05/0.6057, allocations: 103.1 kB / 0.6917 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.6059, allocations: 82.05 kB / 0.6917 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.6061, allocations: 354.7 kB / 0.6921 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.6065, allocations: 204 kB / 0.6923 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005335/0.6071, allocations: 313.4 kB / 0.6926 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009015/0.608, allocations: 496.5 kB / 0.693 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.608, allocations: 3.938 kB / 0.693 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001163/0.6091, allocations: 0.6014 MB / 0.6936 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.12e-05/0.6092, allocations: 63.39 kB / 0.6937 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6092, allocations: 0 / 0.6937 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.6092, allocations: 8 kB / 0.6937 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.6096, allocations: 87.83 kB / 0.6938 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.6096, allocations: 7.938 kB / 0.6938 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.61, allocations: 51.61 kB / 0.6938 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/0.61, allocations: 24.23 kB / 0.6939 GB, free: 11.85 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.000266/0.6103, allocations: 189.7 kB / 0.694 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.6105, allocations: 39.77 kB / 0.6941 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.6116, allocations: 487.2 kB / 0.6946 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.6116, allocations: 7.984 kB / 0.6946 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6116, allocations: 4 kB / 0.6946 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.6116, allocations: 0 / 0.6946 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/0.6144, allocations: 1.256 MB / 0.6958 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.6144, allocations: 0 / 0.6958 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.6147, allocations: 71.33 kB / 0.6959 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.6148, allocations: 4 kB / 0.6959 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.6148, allocations: 11.94 kB / 0.6959 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.6148, allocations: 4 kB / 0.6959 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.6148, allocations: 7.938 kB / 0.6959 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009841/0.6158, allocations: 0.6435 MB / 0.6965 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.6159, allocations: 43.7 kB / 0.6966 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.351e-05/0.616, allocations: 23.81 kB / 0.6966 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004592/0.6165, allocations: 23.98 kB / 0.6966 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/0.6166, allocations: 24.05 kB / 0.6966 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/0.6166, allocations: 27.97 kB / 0.6966 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004852/0.6171, allocations: 363.1 kB / 0.697 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6171, allocations: 0 / 0.697 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001342/0.6184, allocations: 382.9 kB / 0.6974 GB, free: 8.145 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.002826/0.6213, allocations: 1.667 MB / 0.699 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.6223, allocations: 0.498 MB / 0.6995 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.6223, allocations: 0 / 0.6995 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003425/0.6226, allocations: 160.5 kB / 0.6996 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.6241, allocations: 299.8 kB / 0.6999 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007287/0.6314, allocations: 4.808 MB / 0.7046 GB, free: 392 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.6318, allocations: 232.1 kB / 0.7048 GB, free: 136 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004793/0.6322, allocations: 108.3 kB / 0.7049 GB, free: 24 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.6325, allocations: 151.5 kB / 0.7051 GB, free: 15.87 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/0.6325, allocations: 0 / 0.7051 GB, free: 15.87 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06237/0.6949, allocations: 22.57 MB / 0.7271 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.33, allocations: 3.938 kB / 0.7271 GB, free: 9.25 MB / 0.5606 GB " [Timeout remaining time 648] (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.266026825178415]