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.001019/0.001019, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001046/0.001046, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9415/0.9415, allocations: 177.2 MB / 206.1 MB, free: 4.473 MB / 186.7 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.139/0.139, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.7 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.303e-06/1.303e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.361e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.299/0.299, allocations: 146.1 MB / 0.5111 GB, free: 13.94 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.3004, allocations: 0.8645 MB / 0.5119 GB, free: 13.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.3007, allocations: 13.75 kB / 0.5119 GB, free: 13.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.3011, allocations: 122.6 kB / 0.512 GB, free: 13.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004842/0.3016, allocations: 298.9 kB / 0.5123 GB, free: 13.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002861/0.3044, allocations: 1.331 MB / 0.5136 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009974/0.3054, allocations: 0.9676 MB / 0.5146 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003896/0.3058, allocations: 292.5 kB / 0.5149 GB, free: 13.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.3068, allocations: 0.7072 MB / 0.5155 GB, free: 13.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003824/0.3072, allocations: 299.4 kB / 0.5158 GB, free: 13.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.183e-05/0.3073, allocations: 46.94 kB / 0.5159 GB, free: 13.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.3092, allocations: 1.378 MB / 0.5172 GB, free: 13.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.3093, allocations: 212.6 kB / 0.5174 GB, free: 13.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.3095, allocations: 197.4 kB / 0.5176 GB, free: 13.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.3112, allocations: 1.395 MB / 0.519 GB, free: 13.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3112, allocations: 1.203 kB / 0.519 GB, free: 13.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3112, allocations: 0 / 0.519 GB, free: 13.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3112, allocations: 3.125 kB / 0.519 GB, free: 13.4 MB / 410.7 MB 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.0009851/0.3122, allocations: 0.9938 MB / 0.5199 GB, free: 12.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.3123, allocations: 14.14 kB / 0.52 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.3125, allocations: 102.7 kB / 0.5201 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.3128, allocations: 331.9 kB / 0.5204 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.3128, allocations: 27.97 kB / 0.5204 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.3128, allocations: 40.81 kB / 0.5204 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.3132, allocations: 0.618 MB / 0.521 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3132, allocations: 0 / 0.521 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.3132, allocations: 18.75 kB / 0.5211 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3133, allocations: 12.94 kB / 0.5211 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.3135, allocations: 196.5 kB / 0.5213 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.3147, allocations: 1.732 MB / 0.523 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.3149, allocations: 205 kB / 0.5231 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.157e-05/0.315, allocations: 84.3 kB / 0.5232 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.3151, allocations: 74.67 kB / 0.5233 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.3152, allocations: 45.86 kB / 0.5233 GB, free: 10.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.624e-06/0.3152, allocations: 0 / 0.5233 GB, free: 10.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0003598/0.3155, allocations: 244.3 kB / 0.5236 GB, free: 10.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.3156, allocations: 114.7 kB / 0.5237 GB, free: 10.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.3157, allocations: 326.1 kB / 0.524 GB, free: 10.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.3157, allocations: 31.42 kB / 0.524 GB, free: 10.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.3158, allocations: 282.2 kB / 0.5243 GB, free: 10.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.3158, allocations: 110.5 kB / 0.5244 GB, free: 10.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/0.3159, allocations: 81.73 kB / 0.5245 GB, free: 10 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.42e-05/0.316, allocations: 0.5213 MB / 0.525 GB, free: 9.508 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/0.3161, allocations: 100.5 kB / 0.5251 GB, free: 9.445 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.3162, allocations: 249 kB / 0.5253 GB, free: 9.207 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.3164, allocations: 332.7 kB / 0.5256 GB, free: 8.945 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3164, allocations: 2.938 kB / 0.5256 GB, free: 8.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003484/0.3167, allocations: 413.1 kB / 0.526 GB, free: 8.746 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.3167, allocations: 65.38 kB / 0.5261 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3167, allocations: 5.219 kB / 0.5261 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.3168, allocations: 5.5 kB / 0.5261 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.3169, allocations: 79.83 kB / 0.5262 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.317, allocations: 9.781 kB / 0.5262 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.3171, allocations: 42.16 kB / 0.5262 GB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.3171, allocations: 20.22 kB / 0.5263 GB, free: 8.652 MB / 410.7 MB 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 9.141e-05/0.3172, allocations: 188.7 kB / 0.5264 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.3173, allocations: 41.09 kB / 0.5265 GB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.3177, allocations: 332.4 kB / 0.5268 GB, free: 8.371 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3177, allocations: 9.375 kB / 0.5268 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.3177, allocations: 0 / 0.5268 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3177, allocations: 0 / 0.5268 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009373/0.3186, allocations: 1.084 MB / 0.5279 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3186, allocations: 6.5 kB / 0.5279 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.3187, allocations: 60.64 kB / 0.5279 GB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3187, allocations: 7.156 kB / 0.5279 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.3188, allocations: 12.69 kB / 0.5279 GB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3188, allocations: 8.047 kB / 0.5279 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3188, allocations: 5.484 kB / 0.528 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.319, allocations: 0.6399 MB / 0.5286 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.747e-05/0.3191, allocations: 40.8 kB / 0.5286 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.3191, allocations: 12.25 kB / 0.5286 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.3193, allocations: 20.42 kB / 0.5286 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.3193, allocations: 24.34 kB / 0.5287 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.3193, allocations: 23.09 kB / 0.5287 GB, free: 7.184 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.788e-05/0.3194, allocations: 242.2 kB / 0.5289 GB, free: 7.062 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3194, allocations: 0 / 0.5289 GB, free: 7.062 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006003/0.32, allocations: 275.8 kB / 0.5292 GB, free: 7.012 MB / 410.7 MB 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.0005597/0.3206, allocations: 398.3 kB / 0.5296 GB, free: 6.871 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.3209, allocations: 352.2 kB / 0.5299 GB, free: 6.652 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3209, allocations: 0 / 0.5299 GB, free: 6.652 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.321, allocations: 91.05 kB / 0.53 GB, free: 6.629 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.3216, allocations: 241.9 kB / 0.5302 GB, free: 6.586 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008097/0.3224, allocations: 0.7235 MB / 0.5309 GB, free: 6.129 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.165e-05/0.3225, allocations: 131.8 kB / 0.5311 GB, free: 6.055 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.3227, allocations: 68.8 kB / 0.5311 GB, free: 6.035 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/0.3231, allocations: 300.6 kB / 0.5314 GB, free: 5.969 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3231, allocations: 7.938 kB / 0.5314 GB, free: 5.961 MB / 410.7 MB Notification: Performance of Templates: time 0.01306/0.3361, allocations: 13.35 MB / 0.5445 GB, free: 15.14 MB / 426.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5791553491726518]