Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001975/0.001975, allocations: 84.3 kB / 20.68 MB, free: 1.039 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.002427/0.002427, allocations: 168.5 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.214/0.214, allocations: 34.28 MB / 294.9 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.152e-05, allocations: 9.594 kB / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3698/0.3698, allocations: 160.3 MB / 0.5889 GB, free: 5.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.3719, allocations: 0.877 MB / 0.5897 GB, free: 4.512 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.3721, allocations: 15.88 kB / 0.5897 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006856/0.3728, allocations: 198.6 kB / 0.5899 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005917/0.3734, allocations: 310 kB / 0.5902 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005356/0.3788, allocations: 1.996 MB / 0.5922 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.38, allocations: 0.9864 MB / 0.5931 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004447/0.3804, allocations: 277.3 kB / 0.5934 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.3841, allocations: 1.721 MB / 0.5951 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004873/0.3846, allocations: 291.2 kB / 0.5954 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.3847, allocations: 48 kB / 0.5954 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004255/0.3889, allocations: 2.308 MB / 0.5977 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002724/0.3892, allocations: 215.4 kB / 0.5979 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002938/0.3895, allocations: 199.6 kB / 0.5981 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003443/0.3929, allocations: 2.217 MB / 0.6002 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3929, allocations: 0 / 0.6002 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3929, allocations: 0 / 0.6002 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.3929, allocations: 0 / 0.6002 GB, free: 9.738 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.001899/0.3948, allocations: 0.9974 MB / 0.6012 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3949, allocations: 8.031 kB / 0.6012 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002825/0.3951, allocations: 59.72 kB / 0.6013 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006084/0.3958, allocations: 324.4 kB / 0.6016 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.3958, allocations: 29 kB / 0.6016 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.229e-05/0.3959, allocations: 32 kB / 0.6016 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.397, allocations: 0.7785 MB / 0.6024 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.397, allocations: 0 / 0.6024 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.839e-05/0.3971, allocations: 16 kB / 0.6024 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.3971, allocations: 12 kB / 0.6024 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009908/0.3981, allocations: 0.4953 MB / 0.6029 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.4007, allocations: 1.467 MB / 0.6043 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00079/0.4015, allocations: 358 kB / 0.6047 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003584/0.4019, allocations: 177 kB / 0.6048 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004409/0.4023, allocations: 123.9 kB / 0.605 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.767e-05/0.4024, allocations: 50.42 kB / 0.605 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.4024, allocations: 0 / 0.605 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30): time 0.001228/0.4036, allocations: 496.6 kB / 0.6055 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.4037, allocations: 106.8 kB / 0.6056 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.404, allocations: 296.6 kB / 0.6059 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/0.4041, allocations: 33.7 kB / 0.6059 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.4043, allocations: 228.4 kB / 0.6061 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.858e-05/0.4044, allocations: 111.1 kB / 0.6062 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.4045, allocations: 82 kB / 0.6063 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.4047, allocations: 338.8 kB / 0.6066 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.4051, allocations: 208 kB / 0.6068 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/0.4056, allocations: 317.6 kB / 0.6071 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008325/0.4064, allocations: 479 kB / 0.6076 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4064, allocations: 0 / 0.6076 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001132/0.4076, allocations: 0.5974 MB / 0.6082 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.932e-05/0.4076, allocations: 63.41 kB / 0.6082 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4076, allocations: 0 / 0.6082 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4076, allocations: 8 kB / 0.6082 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.408, allocations: 87.83 kB / 0.6083 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.4081, allocations: 7.984 kB / 0.6083 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.4084, allocations: 36.8 kB / 0.6084 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.686e-05/0.4084, allocations: 24.3 kB / 0.6084 GB, free: 0.8867 MB / 0.4981 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.0002404/0.4087, allocations: 189.6 kB / 0.6086 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.4088, allocations: 35.75 kB / 0.6086 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.4099, allocations: 480.4 kB / 0.6091 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.4099, allocations: 19.5 kB / 0.6091 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4099, allocations: 4 kB / 0.6091 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.4099, allocations: 3.984 kB / 0.6091 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/0.4124, allocations: 1.192 MB / 0.6102 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4124, allocations: 4.188 kB / 0.6103 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.4127, allocations: 67.89 kB / 0.6103 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.551e-05/0.4127, allocations: 4 kB / 0.6103 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.4127, allocations: 8 kB / 0.6103 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.4127, allocations: 7.938 kB / 0.6103 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4127, allocations: 4 kB / 0.6103 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008991/0.4136, allocations: 0.6284 MB / 0.611 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.4137, allocations: 35.7 kB / 0.611 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.4138, allocations: 15.94 kB / 0.611 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.4142, allocations: 27.97 kB / 0.611 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.4143, allocations: 19.91 kB / 0.6111 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/0.4143, allocations: 24.08 kB / 0.6111 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003225/0.4147, allocations: 279 kB / 0.6113 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4147, allocations: 0 / 0.6113 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001083/0.4157, allocations: 366.9 kB / 0.6117 GB, free: 13.4 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.001224/0.417, allocations: 0.5258 MB / 0.6122 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009034/0.4179, allocations: 0.5016 MB / 0.6127 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4179, allocations: 0 / 0.6127 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.4182, allocations: 160.6 kB / 0.6128 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.4194, allocations: 213.2 kB / 0.613 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.4207, allocations: 0.7489 MB / 0.6138 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.421, allocations: 240 kB / 0.614 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003305/0.4214, allocations: 93.67 kB / 0.6141 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.4215, allocations: 36.5 kB / 0.6141 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.4215, allocations: 4 kB / 0.6141 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.02452/0.446, allocations: 13.42 MB / 0.6272 GB, free: 13.56 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.767111860215664]