Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001305/0.001305, allocations: 84.55 kB / 20.68 MB, free: 1.027 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.00143/0.00143, allocations: 164.4 kB / 23.95 MB, free: 4.156 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.351/1.351, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.192/0.192, allocations: 32.81 MB / 293.5 MB, free: 32 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.374e-05/3.529e-05, allocations: 6.219 kB / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3581/0.3581, allocations: 160.3 MB / 0.5863 GB, free: 9.402 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.36, allocations: 0.8777 MB / 0.5872 GB, free: 8.523 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.3603, allocations: 15.88 kB / 0.5872 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007088/0.3611, allocations: 206.5 kB / 0.5874 GB, free: 8.305 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007023/0.3618, allocations: 306 kB / 0.5877 GB, free: 8.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005179/0.3669, allocations: 1.999 MB / 0.5896 GB, free: 6.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.3682, allocations: 0.9864 MB / 0.5906 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004995/0.3687, allocations: 273.4 kB / 0.5909 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0037/0.3724, allocations: 1.725 MB / 0.5926 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005609/0.373, allocations: 299.2 kB / 0.5928 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.3731, allocations: 48 kB / 0.5929 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004177/0.3773, allocations: 2.304 MB / 0.5951 GB, free: 376 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.3775, allocations: 207.4 kB / 0.5953 GB, free: 168 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003532/0.3779, allocations: 207.6 kB / 0.5955 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003918/0.3818, allocations: 2.217 MB / 0.5977 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.341e-06/0.3818, allocations: 3.984 kB / 0.5977 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3818, allocations: 0 / 0.5977 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.3818, allocations: 0 / 0.5977 GB, free: 13.73 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.001776/0.3836, allocations: 1.001 MB / 0.5987 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3836, allocations: 8.031 kB / 0.5987 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.3839, allocations: 59.7 kB / 0.5987 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.3845, allocations: 324.4 kB / 0.5991 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.3845, allocations: 29 kB / 0.5991 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.3846, allocations: 36 kB / 0.5991 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.3856, allocations: 0.7746 MB / 0.5999 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3856, allocations: 0 / 0.5999 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.503e-05/0.3857, allocations: 17.22 kB / 0.5999 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.3857, allocations: 12 kB / 0.5999 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00091/0.3866, allocations: 499 kB / 0.6004 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.389, allocations: 1.464 MB / 0.6018 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007317/0.3897, allocations: 363.9 kB / 0.6022 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.3901, allocations: 180.8 kB / 0.6023 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004218/0.3905, allocations: 123.9 kB / 0.6024 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.3905, allocations: 46.44 kB / 0.6025 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.3905, allocations: 0 / 0.6025 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30): time 0.001162/0.3917, allocations: 494.9 kB / 0.603 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.3918, allocations: 106.8 kB / 0.6031 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.3921, allocations: 300.5 kB / 0.6033 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.3921, allocations: 33.7 kB / 0.6034 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.3923, allocations: 228.3 kB / 0.6036 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.92e-05/0.3924, allocations: 107.1 kB / 0.6037 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.3925, allocations: 78.02 kB / 0.6038 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3927, allocations: 342.8 kB / 0.6041 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.393, allocations: 208 kB / 0.6043 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.3935, allocations: 313.7 kB / 0.6046 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007637/0.3942, allocations: 483.6 kB / 0.6051 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3942, allocations: 0 / 0.6051 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001046/0.3953, allocations: 0.5977 MB / 0.6056 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.455e-05/0.3953, allocations: 67.33 kB / 0.6057 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3954, allocations: 0 / 0.6057 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.3954, allocations: 8 kB / 0.6057 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/0.3958, allocations: 83.83 kB / 0.6058 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.3958, allocations: 9.562 kB / 0.6058 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.3961, allocations: 44.78 kB / 0.6058 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.3961, allocations: 20 kB / 0.6059 GB, free: 4.887 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.0002327/0.3964, allocations: 190.3 kB / 0.606 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.3965, allocations: 39.81 kB / 0.6061 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.3975, allocations: 484.7 kB / 0.6065 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3975, allocations: 7.938 kB / 0.6066 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3975, allocations: 3.75 kB / 0.6066 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3975, allocations: 8 kB / 0.6066 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.3999, allocations: 1.208 MB / 0.6077 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.3999, allocations: 4 kB / 0.6078 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.4002, allocations: 59.91 kB / 0.6078 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.4002, allocations: 8.188 kB / 0.6078 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.4002, allocations: 11.98 kB / 0.6078 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.4002, allocations: 4 kB / 0.6078 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.4002, allocations: 4 kB / 0.6078 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008382/0.4011, allocations: 0.6245 MB / 0.6084 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.888e-05/0.4011, allocations: 43.69 kB / 0.6085 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.4012, allocations: 8 kB / 0.6085 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.4016, allocations: 23.98 kB / 0.6085 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.4017, allocations: 27.89 kB / 0.6085 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.4017, allocations: 19.98 kB / 0.6086 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002999/0.402, allocations: 275 kB / 0.6088 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.402, allocations: 3.938 kB / 0.6088 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001032/0.4031, allocations: 366.9 kB / 0.6092 GB, free: 1.398 MB / 0.4981 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.001165/0.4042, allocations: 0.5197 MB / 0.6097 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008513/0.4051, allocations: 0.5052 MB / 0.6102 GB, free: 344 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4051, allocations: 0 / 0.6102 GB, free: 344 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.4054, allocations: 160.9 kB / 0.6103 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.4066, allocations: 204.1 kB / 0.6105 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.4079, allocations: 0.7562 MB / 0.6113 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.4081, allocations: 240 kB / 0.6115 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003105/0.4084, allocations: 98.14 kB / 0.6116 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.4086, allocations: 40.48 kB / 0.6116 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.4086, allocations: 3.938 kB / 0.6116 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of Templates: time 0.02268/0.4312, allocations: 13.43 MB / 0.6247 GB, free: 1.543 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.246543627232313]