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.00102/0.00102, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.001041/0.001041, allocations: 165 kB / 23.79 MB, free: 0.7734 MB / 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.9646/0.9646, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1266/0.1266, allocations: 32.37 MB / 270.4 MB, free: 14.7 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 1.593e-06/1.593e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.01e-05, allocations: 6.25 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2879/0.2879, allocations: 147.2 MB / 494.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.2895, allocations: 0.8805 MB / 495.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.2897, allocations: 13.56 kB / 495.7 MB, free: 8.801 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004412/0.2901, allocations: 117.9 kB / 495.9 MB, free: 8.715 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.2906, allocations: 294.1 kB / 496.1 MB, free: 8.559 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.2934, allocations: 1.374 MB / 497.5 MB, free: 8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009587/0.2944, allocations: 0.9624 MB / 498.5 MB, free: 7.707 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004769/0.2948, allocations: 296.7 kB / 498.8 MB, free: 7.652 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.2959, allocations: 0.6912 MB / 499.5 MB, free: 7.449 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003532/0.2963, allocations: 297.6 kB / 499.7 MB, free: 7.352 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.229e-05/0.2964, allocations: 49 kB / 499.8 MB, free: 7.352 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.2983, allocations: 1.361 MB / 0.4894 GB, free: 6.969 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.2985, allocations: 208.7 kB / 0.4896 GB, free: 6.902 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.2987, allocations: 208 kB / 0.4898 GB, free: 6.855 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.3011, allocations: 1.377 MB / 0.4912 GB, free: 6.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3011, allocations: 2.938 kB / 0.4912 GB, free: 6.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3011, allocations: 0 / 0.4912 GB, free: 6.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.3011, allocations: 3.938 kB / 0.4912 GB, free: 6.336 MB / 362.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.001205/0.3024, allocations: 0.9807 MB / 0.4921 GB, free: 5.516 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3024, allocations: 8.844 kB / 0.4921 GB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.3026, allocations: 100.1 kB / 0.4922 GB, free: 5.469 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.303, allocations: 339.9 kB / 0.4925 GB, free: 5.195 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.303, allocations: 27.5 kB / 0.4926 GB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.3031, allocations: 40.28 kB / 0.4926 GB, free: 5.168 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.3036, allocations: 0.6542 MB / 0.4932 GB, free: 4.562 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3036, allocations: 2.75 kB / 0.4933 GB, free: 4.562 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.3036, allocations: 14.75 kB / 0.4933 GB, free: 4.551 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.3036, allocations: 11.91 kB / 0.4933 GB, free: 4.551 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.3039, allocations: 254.8 kB / 0.4935 GB, free: 4.449 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.3053, allocations: 1.736 MB / 0.4952 GB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.3056, allocations: 238.4 kB / 0.4954 GB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.3057, allocations: 98.42 kB / 0.4955 GB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002183/0.3059, allocations: 81.58 kB / 0.4956 GB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.306, allocations: 40.39 kB / 0.4957 GB, free: 2.637 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.595e-06/0.306, allocations: 0 / 0.4957 GB, free: 2.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.0004792/0.3064, allocations: 284.2 kB / 0.4959 GB, free: 2.508 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.3065, allocations: 109.8 kB / 0.496 GB, free: 2.379 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.3067, allocations: 331.9 kB / 0.4963 GB, free: 2.121 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.3067, allocations: 33.05 kB / 0.4964 GB, free: 2.086 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.081e-05/0.3068, allocations: 284.5 kB / 0.4966 GB, free: 1.824 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.3068, allocations: 111.5 kB / 0.4968 GB, free: 1.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.705e-05/0.3069, allocations: 87.19 kB / 0.4968 GB, free: 1.668 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.098e-05/0.307, allocations: 0.5122 MB / 0.4973 GB, free: 1.152 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3071, allocations: 123.1 kB / 0.4975 GB, free: 1.062 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.3073, allocations: 267.7 kB / 0.4977 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.3075, allocations: 355.3 kB / 0.498 GB, free: 480 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3075, allocations: 2.906 kB / 0.4981 GB, free: 480 kB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004538/0.308, allocations: 461.2 kB / 0.4985 GB, free: 176 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.308, allocations: 68.38 kB / 0.4986 GB, free: 104 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.308, allocations: 2.562 kB / 0.4986 GB, free: 104 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3081, allocations: 5.438 kB / 0.4986 GB, free: 104 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.3083, allocations: 79.17 kB / 0.4986 GB, free: 88 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.3083, allocations: 9.219 kB / 0.4986 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.3084, allocations: 39.52 kB / 0.4987 GB, free: 56 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.3084, allocations: 18.62 kB / 0.4987 GB, free: 52 kB / 362.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.0001729/0.3086, allocations: 183.8 kB / 0.4989 GB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.559e-05/0.3087, allocations: 50.77 kB / 0.4989 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/0.3092, allocations: 350.5 kB / 0.4993 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3092, allocations: 6.781 kB / 0.4993 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3092, allocations: 3 kB / 0.4993 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3092, allocations: 3.984 kB / 0.4993 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.3106, allocations: 1.191 MB / 0.5004 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3106, allocations: 0 / 0.5004 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.3107, allocations: 59.22 kB / 0.5005 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3107, allocations: 4 kB / 0.5005 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.3107, allocations: 15.94 kB / 0.5005 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.3107, allocations: 3.938 kB / 0.5005 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3108, allocations: 4 kB / 0.5005 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005341/0.3113, allocations: 0.665 MB / 0.5012 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.3113, allocations: 35.73 kB / 0.5012 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.3114, allocations: 23.83 kB / 0.5012 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.3116, allocations: 19.98 kB / 0.5012 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.3116, allocations: 27.89 kB / 0.5013 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.3117, allocations: 19.98 kB / 0.5013 GB, free: 13.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001907/0.3119, allocations: 263 kB / 0.5015 GB, free: 13.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3119, allocations: 0 / 0.5015 GB, free: 13.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006986/0.3125, allocations: 267.3 kB / 0.5018 GB, free: 13.1 MB / 378.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.0007822/0.3133, allocations: 430.8 kB / 0.5022 GB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004523/0.3138, allocations: 393.6 kB / 0.5026 GB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3138, allocations: 0 / 0.5026 GB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.3139, allocations: 103.4 kB / 0.5027 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006999/0.3146, allocations: 224 kB / 0.5029 GB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.3157, allocations: 0.7346 MB / 0.5036 GB, free: 11.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.82e-05/0.3158, allocations: 130.3 kB / 0.5037 GB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000231/0.3161, allocations: 79.16 kB / 0.5038 GB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.196e-05/0.3161, allocations: 48.48 kB / 0.5039 GB, free: 10.91 MB / 378.7 MB Notification: Performance of SimCode: time 9.41e-07/0.3161, allocations: 0 / 0.5039 GB, free: 10.91 MB / 378.7 MB Notification: Performance of Templates: time 0.01506/0.3312, allocations: 13.44 MB / 0.517 GB, free: 13.54 MB / 394.7 MB " [Timeout remaining time 660] 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.6363036022521555]