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.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.001079/0.001079, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001848/0.002927, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001111/0.001111, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001761/0.002871, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9471/0.9471, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1708/1.118, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.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.1551/0.1551, allocations: 32.8 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02064/0.1757, allocations: 12.54 MB / 284.6 MB, free: 9.715 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_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.793e-06/1.793e-06, allocations: 0 / 285.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.087e-05, allocations: 5.266 kB / 285.9 MB, free: 8.414 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2604/0.2604, allocations: 145.7 MB / 431.6 MB, free: 6.797 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.2619, allocations: 0.9229 MB / 432.5 MB, free: 5.895 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.2621, allocations: 11.88 kB / 432.5 MB, free: 5.883 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.2624, allocations: 115.2 kB / 432.6 MB, free: 5.77 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003669/0.2628, allocations: 297.7 kB / 432.9 MB, free: 5.488 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.2652, allocations: 1.255 MB / 434.2 MB, free: 4.234 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008119/0.266, allocations: 0.9653 MB / 435.1 MB, free: 3.27 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003347/0.2663, allocations: 296.6 kB / 435.4 MB, free: 2.973 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008917/0.2672, allocations: 0.7254 MB / 436.1 MB, free: 2.246 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.2675, allocations: 283.2 kB / 436.4 MB, free: 1.969 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.068e-05/0.2676, allocations: 44 kB / 436.5 MB, free: 1.926 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.2697, allocations: 1.396 MB / 437.9 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.2699, allocations: 171.6 kB / 438 MB, free: 368 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.2702, allocations: 167.7 kB / 438.2 MB, free: 200 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.272, allocations: 1.157 MB / 439.4 MB, free: 15.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.2721, allocations: 0 / 439.4 MB, free: 15.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2721, allocations: 4 kB / 439.4 MB, free: 15.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.2721, allocations: 0 / 439.4 MB, free: 15.03 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.001432/0.2735, allocations: 1.028 MB / 440.4 MB, free: 13.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.2735, allocations: 8.031 kB / 440.4 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002747/0.2738, allocations: 165.6 kB / 440.6 MB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.2743, allocations: 291.8 kB / 440.8 MB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.2743, allocations: 29 kB / 440.9 MB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.2743, allocations: 43.98 kB / 440.9 MB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/0.2749, allocations: 0.6024 MB / 441.5 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.2749, allocations: 4 kB / 441.5 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.2749, allocations: 20 kB / 441.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.275, allocations: 8 kB / 441.5 MB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003752/0.2753, allocations: 189.9 kB / 441.7 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.2772, allocations: 1.279 MB / 443 MB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.2775, allocations: 284.7 kB / 443.3 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.2776, allocations: 74.45 kB / 443.4 MB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.2779, allocations: 71.92 kB / 443.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.2779, allocations: 42.5 kB / 443.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.434e-06/0.2779, allocations: 0 / 443.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.000441/0.2784, allocations: 192.1 kB / 443.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.2784, allocations: 106.8 kB / 443.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.2786, allocations: 263 kB / 444 MB, free: 10.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.2787, allocations: 41.64 kB / 444.1 MB, free: 10 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.2788, allocations: 208.7 kB / 444.3 MB, free: 9.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/0.2789, allocations: 111 kB / 444.4 MB, free: 9.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.279, allocations: 78.03 kB / 444.4 MB, free: 9.598 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2791, allocations: 346.7 kB / 444.8 MB, free: 9.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.2793, allocations: 103 kB / 444.9 MB, free: 9.137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.2794, allocations: 207.2 kB / 445.1 MB, free: 8.879 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.2797, allocations: 307.4 kB / 445.4 MB, free: 8.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2798, allocations: 7.984 kB / 445.4 MB, free: 8.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002925/0.28, allocations: 355.3 kB / 445.7 MB, free: 8.129 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.2801, allocations: 63.41 kB / 445.8 MB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2801, allocations: 4 kB / 445.8 MB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2801, allocations: 4 kB / 445.8 MB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.2803, allocations: 96.25 kB / 445.9 MB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.2803, allocations: 11.94 kB / 445.9 MB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.2805, allocations: 39.73 kB / 446 MB, free: 7.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.2805, allocations: 19.98 kB / 446 MB, free: 7.883 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 0.000145/0.2807, allocations: 136.5 kB / 446.1 MB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.2807, allocations: 28.16 kB / 446.1 MB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003725/0.2811, allocations: 287.6 kB / 446.4 MB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2811, allocations: 4 kB / 446.4 MB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2811, allocations: 4 kB / 446.4 MB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2811, allocations: 3.984 kB / 446.4 MB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009659/0.2821, allocations: 1.006 MB / 447.4 MB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2821, allocations: 0 / 447.4 MB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.2822, allocations: 71.89 kB / 447.5 MB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.2822, allocations: 35.77 kB / 447.5 MB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.2823, allocations: 11.94 kB / 447.6 MB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.2823, allocations: 8 kB / 447.6 MB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2823, allocations: 4 kB / 447.6 MB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.2823, allocations: 7.938 kB / 447.6 MB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.2826, allocations: 0.5854 MB / 448.2 MB, free: 5.586 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.2826, allocations: 15.94 kB / 448.2 MB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.2828, allocations: 15.98 kB / 448.2 MB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.2828, allocations: 27.95 kB / 448.2 MB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.2828, allocations: 19.92 kB / 448.2 MB, free: 5.508 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.669e-05/0.2829, allocations: 131.4 kB / 448.4 MB, free: 5.375 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2829, allocations: 0 / 448.4 MB, free: 5.375 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005781/0.2835, allocations: 279.2 kB / 448.6 MB, free: 5.102 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.0006738/0.2842, allocations: 404.9 kB / 449 MB, free: 4.738 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003089/0.2845, allocations: 351.8 kB / 449.4 MB, free: 4.359 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/0.2845, allocations: 5.125 kB / 449.4 MB, free: 4.355 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.2846, allocations: 109 kB / 449.5 MB, free: 4.246 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009367/0.2856, allocations: 1.084 MB / 450.6 MB, free: 2.984 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.2888, allocations: 0.7714 MB / 451.3 MB, free: 2.152 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.036e-05/0.2889, allocations: 121.9 kB / 451.5 MB, free: 2.012 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002196/0.2891, allocations: 77.52 kB / 451.5 MB, free: 1.938 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/0.2895, allocations: 241 kB / 451.8 MB, free: 1.703 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2895, allocations: 0 / 451.8 MB, free: 1.703 MB / 410.7 MB Notification: Performance of Templates: time 0.01402/0.3035, allocations: 13.4 MB / 465.2 MB, free: 4.508 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.323093544691801]