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.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.001334/0.001334, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001563/0.001563, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 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 0.8456/0.8456, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] 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.1294/0.1294, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 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.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_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: Performance of FrontEnd - loaded program: time 3.045e-06/3.045e-06, allocations: 0 / 299.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.756e-05, allocations: 2.312 kB / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2853/0.2854, allocations: 146.5 MB / 445.6 MB, free: 11.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.287, allocations: 0.9126 MB / 446.5 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.2871, allocations: 11.88 kB / 446.5 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.2876, allocations: 119.1 kB / 446.6 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005185/0.2881, allocations: 294.1 kB / 446.9 MB, free: 9.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.2914, allocations: 1.377 MB / 448.3 MB, free: 8.598 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000866/0.2923, allocations: 0.967 MB / 449.2 MB, free: 7.629 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.2926, allocations: 298.5 kB / 449.5 MB, free: 7.328 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008936/0.2935, allocations: 0.6937 MB / 450.2 MB, free: 6.633 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.2938, allocations: 279.2 kB / 450.5 MB, free: 6.359 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.298e-05/0.2939, allocations: 44 kB / 450.5 MB, free: 6.316 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.2955, allocations: 1.372 MB / 451.9 MB, free: 4.941 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.2957, allocations: 211.5 kB / 452.1 MB, free: 4.734 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.2958, allocations: 191.6 kB / 452.3 MB, free: 4.547 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.2976, allocations: 1.379 MB / 453.7 MB, free: 3.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2976, allocations: 4 kB / 453.7 MB, free: 3.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2976, allocations: 0 / 453.7 MB, free: 3.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.351e-06/0.2976, allocations: 0 / 453.7 MB, free: 3.16 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.0009856/0.2986, allocations: 0.8447 MB / 454.5 MB, free: 2.277 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.2986, allocations: 12.03 kB / 454.6 MB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.2988, allocations: 88.73 kB / 454.6 MB, free: 2.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.2991, allocations: 300.5 kB / 454.9 MB, free: 1.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.2991, allocations: 29 kB / 455 MB, free: 1.832 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.2992, allocations: 41.31 kB / 455 MB, free: 1.793 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004269/0.2996, allocations: 0.6138 MB / 455.6 MB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2996, allocations: 4 kB / 455.6 MB, free: 1.082 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.2996, allocations: 16 kB / 455.6 MB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.2996, allocations: 8 kB / 455.6 MB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.2999, allocations: 177.4 kB / 455.8 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1931/0.4929, allocations: 1.278 MB / 457.1 MB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.4932, allocations: 275.7 kB / 457.4 MB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.547e-05/0.4933, allocations: 75.98 kB / 457.4 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/0.4936, allocations: 78.5 kB / 457.5 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.4936, allocations: 39.09 kB / 457.6 MB, free: 13.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.964e-06/0.4936, allocations: 0 / 457.6 MB, free: 13.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0004007/0.494, allocations: 189 kB / 457.7 MB, free: 13.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.4941, allocations: 107.6 kB / 457.8 MB, free: 13.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.4942, allocations: 270.7 kB / 458.1 MB, free: 12.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.4943, allocations: 37.2 kB / 458.1 MB, free: 12.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.4944, allocations: 209.9 kB / 458.3 MB, free: 12.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.4944, allocations: 108.7 kB / 458.5 MB, free: 12.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.131e-05/0.4945, allocations: 79.05 kB / 458.5 MB, free: 12.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.095e-05/0.4945, allocations: 346 kB / 458.9 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-05/0.4946, allocations: 97.78 kB / 459 MB, free: 12.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.4948, allocations: 211.5 kB / 459.2 MB, free: 12.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.495, allocations: 299.3 kB / 459.5 MB, free: 12.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.495, allocations: 1.188 kB / 459.5 MB, free: 12.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003241/0.4953, allocations: 359 kB / 459.8 MB, free: 11.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.4954, allocations: 60.31 kB / 459.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4954, allocations: 5.625 kB / 459.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4954, allocations: 5.625 kB / 459.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.4956, allocations: 84 kB / 460 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.4956, allocations: 7.703 kB / 460 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.4958, allocations: 37.78 kB / 460 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/0.4958, allocations: 17.56 kB / 460 MB, free: 11.77 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.0001034/0.4959, allocations: 145 kB / 460.2 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.496, allocations: 33.27 kB / 460.2 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004006/0.4964, allocations: 295.8 kB / 460.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.4964, allocations: 4.062 kB / 460.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.4964, allocations: 2.391 kB / 460.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.4964, allocations: 2.844 kB / 460.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.4975, allocations: 1.002 MB / 461.5 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.4975, allocations: 2.688 kB / 461.5 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.4976, allocations: 59 kB / 461.6 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.4976, allocations: 4.156 kB / 461.6 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.4976, allocations: 8.859 kB / 461.6 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.748e-06/0.4976, allocations: 4.641 kB / 461.6 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4976, allocations: 9.422 kB / 461.6 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.4979, allocations: 0.5811 MB / 462.2 MB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.498, allocations: 35.16 kB / 462.2 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.498, allocations: 12.72 kB / 462.2 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.4982, allocations: 22.14 kB / 462.2 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.4983, allocations: 24.66 kB / 462.3 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.4983, allocations: 17.59 kB / 462.3 MB, free: 10.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.4984, allocations: 127.5 kB / 462.4 MB, free: 10.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4984, allocations: 4.281 kB / 462.4 MB, free: 10.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006639/0.4991, allocations: 273 kB / 462.7 MB, free: 10.48 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.0007271/0.4998, allocations: 417.5 kB / 463.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.5001, allocations: 333.1 kB / 463.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/0.5001, allocations: 8.656 kB / 463.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.921e-05/0.5002, allocations: 80.73 kB / 463.5 MB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/0.5009, allocations: 216 kB / 463.7 MB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.5021, allocations: 0.7438 MB / 464.5 MB, free: 9.754 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.5022, allocations: 132.5 kB / 464.6 MB, free: 9.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.5024, allocations: 73.56 kB / 464.7 MB, free: 9.664 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004678/0.5029, allocations: 241.8 kB / 464.9 MB, free: 9.605 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5029, allocations: 0.8125 kB / 464.9 MB, free: 9.605 MB / 410.7 MB Notification: Performance of Templates: time 0.01436/0.5172, allocations: 13.45 MB / 478.3 MB, free: 8.031 MB / 410.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] 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","",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.670097122900188]