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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 109.7 kB / 18.33 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 186 kB / 21.49 MB, free: 0.8242 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.648/1.648, allocations: 207.6 MB / 232.1 MB, free: 3.199 MB / 174.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.3555/0.3555, allocations: 44.23 MB / 328.4 MB, free: 6.254 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003497/0.003497, allocations: 78.44 kB / 465.5 MB, free: 45.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.129, allocations: 61.01 MB / 0.5142 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5304/0.6594, allocations: 187.2 MB / 0.697 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002982/0.6624, allocations: 0.9019 MB / 0.6979 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007435/0.6631, allocations: 10.78 kB / 0.6979 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009719/0.6641, allocations: 204.6 kB / 0.6981 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009405/0.665, allocations: 292.5 kB / 0.6984 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007537/0.6726, allocations: 2.171 MB / 0.7005 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.6738, allocations: 0.9761 MB / 0.7015 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000427/0.6742, allocations: 278.6 kB / 0.7017 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003924/0.6781, allocations: 1.713 MB / 0.7034 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006487/0.6788, allocations: 346 kB / 0.7037 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.6789, allocations: 52.28 kB / 0.7038 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006785/0.6857, allocations: 3.007 MB / 0.7067 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003293/0.686, allocations: 200.7 kB / 0.7069 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004526/0.6864, allocations: 262.1 kB / 0.7072 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006746/0.6932, allocations: 2.14 MB / 0.7092 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.6932, allocations: 0 / 0.7092 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6932, allocations: 0 / 0.7092 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.6932, allocations: 1.844 kB / 0.7092 GB, free: 5.977 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.002534/0.6957, allocations: 1.088 MB / 0.7103 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.6958, allocations: 11.95 kB / 0.7103 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003582/0.6962, allocations: 60.8 kB / 0.7104 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005769/0.6967, allocations: 389.7 kB / 0.7108 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.6968, allocations: 26.69 kB / 0.7108 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/0.6968, allocations: 39 kB / 0.7108 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009404/0.6978, allocations: 0.521 MB / 0.7113 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.6978, allocations: 4 kB / 0.7113 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.259e-05/0.6978, allocations: 16.75 kB / 0.7113 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.6978, allocations: 10.5 kB / 0.7114 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008602/0.6987, allocations: 497.8 kB / 0.7118 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.7016, allocations: 1.97 MB / 0.7138 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007355/0.7023, allocations: 442.7 kB / 0.7142 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.7026, allocations: 177.1 kB / 0.7143 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.7036, allocations: 0.9433 MB / 0.7153 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.7037, allocations: 42.94 kB / 0.7153 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 2.464e-06/0.7037, allocations: 0 / 0.7153 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30): time 0.001134/0.7048, allocations: 0.4923 MB / 0.7158 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.7049, allocations: 107.9 kB / 0.7159 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/0.7054, allocations: 396.3 kB / 0.7163 GB, free: 324 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.7054, allocations: 35.45 kB / 0.7163 GB, free: 288 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.7056, allocations: 223.5 kB / 0.7165 GB, free: 80 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.845e-05/0.7057, allocations: 106.3 kB / 0.7166 GB, free: 15.98 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.7058, allocations: 82.42 kB / 0.7167 GB, free: 15.93 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.706, allocations: 353.6 kB / 0.717 GB, free: 15.59 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.7063, allocations: 148.6 kB / 0.7172 GB, free: 15.52 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.7067, allocations: 261.4 kB / 0.7174 GB, free: 15.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000735/0.7074, allocations: 489.3 kB / 0.7179 GB, free: 14.94 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7074, allocations: 2.562 kB / 0.7179 GB, free: 14.94 MB / 0.5138 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009732/0.7084, allocations: 0.5466 MB / 0.7184 GB, free: 14.62 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.109e-05/0.7085, allocations: 66.84 kB / 0.7185 GB, free: 14.55 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.7085, allocations: 5.25 kB / 0.7185 GB, free: 14.55 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.7085, allocations: 4.344 kB / 0.7185 GB, free: 14.55 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.7089, allocations: 87.69 kB / 0.7186 GB, free: 14.53 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.7089, allocations: 5.703 kB / 0.7186 GB, free: 14.53 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.7092, allocations: 54.58 kB / 0.7186 GB, free: 14.49 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.7093, allocations: 22.47 kB / 0.7187 GB, free: 14.48 MB / 0.5138 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.0002335/0.7095, allocations: 183.2 kB / 0.7188 GB, free: 14.32 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.7096, allocations: 48.53 kB / 0.7189 GB, free: 14.3 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.7107, allocations: 486.3 kB / 0.7193 GB, free: 14.01 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.7107, allocations: 8.812 kB / 0.7194 GB, free: 14 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.7107, allocations: 2.875 kB / 0.7194 GB, free: 14 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7107, allocations: 0 / 0.7194 GB, free: 14 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/0.7139, allocations: 2.442 MB / 0.7217 GB, free: 11.45 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.714, allocations: 0 / 0.7217 GB, free: 11.45 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.7143, allocations: 67.89 kB / 0.7218 GB, free: 11.38 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/0.7143, allocations: 4.281 kB / 0.7218 GB, free: 11.38 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.7143, allocations: 12.12 kB / 0.7218 GB, free: 11.36 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.7143, allocations: 12.06 kB / 0.7218 GB, free: 11.35 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7143, allocations: 0 / 0.7218 GB, free: 11.35 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008506/0.7152, allocations: 0.6474 MB / 0.7225 GB, free: 10.67 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.7153, allocations: 116.8 kB / 0.7226 GB, free: 10.54 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.415e-05/0.7153, allocations: 23.88 kB / 0.7226 GB, free: 10.51 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.7158, allocations: 15.98 kB / 0.7226 GB, free: 10.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/0.7159, allocations: 31.91 kB / 0.7226 GB, free: 10.46 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/0.7159, allocations: 23.98 kB / 0.7227 GB, free: 10.44 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0004228/0.7163, allocations: 359.1 kB / 0.723 GB, free: 10.09 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7163, allocations: 0 / 0.723 GB, free: 10.09 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.00127/0.7176, allocations: 382.9 kB / 0.7234 GB, free: 9.719 MB / 0.5138 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.001371/0.719, allocations: 0.5887 MB / 0.7239 GB, free: 9.168 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0008893/0.7199, allocations: 458.3 kB / 0.7244 GB, free: 8.695 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.7199, allocations: 4 kB / 0.7244 GB, free: 8.691 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.7202, allocations: 156.9 kB / 0.7245 GB, free: 8.539 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.7216, allocations: 278 kB / 0.7248 GB, free: 8.262 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.723, allocations: 0.7895 MB / 0.7256 GB, free: 7.422 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.7236, allocations: 0.839 MB / 0.7264 GB, free: 6.559 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0003901/0.724, allocations: 115.9 kB / 0.7265 GB, free: 6.449 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.7241, allocations: 47.42 kB / 0.7266 GB, free: 6.402 MB / 0.5138 GB Notification: Performance of SimCode: time 5.31e-07/0.7241, allocations: 0 / 0.7266 GB, free: 6.402 MB / 0.5138 GB Notification: Performance of Templates: time 0.02831/0.7524, allocations: 16.22 MB / 0.7424 GB, free: 6.227 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins/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: 6.448993431404233]