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.001048/0.001048, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001161/0.001161, allocations: 165 kB / 23.79 MB, free: 0.7773 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.8841/0.8841, 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.1405/0.1405, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.824e-06/1.824e-06, allocations: 0 / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.929e-05, allocations: 10.19 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3058/0.3058, allocations: 147.2 MB / 494.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3071, allocations: 0.8744 MB / 495.7 MB, free: 8.836 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.3073, allocations: 13.72 kB / 495.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004669/0.3078, allocations: 114.4 kB / 495.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004183/0.3082, allocations: 296.8 kB / 496.1 MB, free: 8.586 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003052/0.3113, allocations: 1.378 MB / 497.5 MB, free: 8.023 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008696/0.3121, allocations: 0.9602 MB / 498.5 MB, free: 7.734 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003675/0.3125, allocations: 292.1 kB / 498.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009098/0.3134, allocations: 0.7032 MB / 499.5 MB, free: 7.469 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.3137, allocations: 293.4 kB / 499.7 MB, free: 7.375 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.027e-05/0.3138, allocations: 45.59 kB / 499.8 MB, free: 7.375 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.3156, allocations: 1.363 MB / 0.4894 GB, free: 6.988 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.3158, allocations: 215.1 kB / 0.4896 GB, free: 6.918 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.316, allocations: 197.5 kB / 0.4898 GB, free: 6.883 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.3176, allocations: 1.384 MB / 0.4912 GB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3176, allocations: 0 / 0.4912 GB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3176, allocations: 0 / 0.4912 GB, free: 6.375 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.3176, allocations: 0 / 0.4912 GB, free: 6.375 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.001018/0.3186, allocations: 0.9796 MB / 0.4921 GB, free: 5.555 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3187, allocations: 15.5 kB / 0.4921 GB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.3189, allocations: 101.1 kB / 0.4922 GB, free: 5.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.3192, allocations: 328.1 kB / 0.4925 GB, free: 5.238 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.3193, allocations: 30.06 kB / 0.4926 GB, free: 5.223 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.3193, allocations: 44.69 kB / 0.4926 GB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.3198, allocations: 0.6538 MB / 0.4932 GB, free: 4.602 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3198, allocations: 0 / 0.4932 GB, free: 4.602 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.3198, allocations: 17.59 kB / 0.4933 GB, free: 4.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.3199, allocations: 9.062 kB / 0.4933 GB, free: 4.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.3202, allocations: 257.9 kB / 0.4935 GB, free: 4.488 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.3214, allocations: 1.736 MB / 0.4952 GB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.3218, allocations: 229.2 kB / 0.4954 GB, free: 2.828 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.3219, allocations: 101.1 kB / 0.4955 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/0.3221, allocations: 85.47 kB / 0.4956 GB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.3221, allocations: 40.33 kB / 0.4956 GB, free: 2.676 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.3221, allocations: 0 / 0.4956 GB, free: 2.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.0004771/0.3226, allocations: 284 kB / 0.4959 GB, free: 2.543 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.3226, allocations: 113.8 kB / 0.496 GB, free: 2.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3228, allocations: 323.8 kB / 0.4963 GB, free: 2.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.3228, allocations: 33.14 kB / 0.4964 GB, free: 2.125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.829e-05/0.3229, allocations: 279.5 kB / 0.4966 GB, free: 1.867 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.3229, allocations: 115.7 kB / 0.4967 GB, free: 1.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.323, allocations: 79.03 kB / 0.4968 GB, free: 1.715 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.99e-05/0.3231, allocations: 0.5203 MB / 0.4973 GB, free: 1.191 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.3232, allocations: 119.2 kB / 0.4974 GB, free: 1.105 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.3234, allocations: 265 kB / 0.4977 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.3236, allocations: 368.4 kB / 0.498 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3236, allocations: 0 / 0.498 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004255/0.3241, allocations: 456 kB / 0.4985 GB, free: 220 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.3241, allocations: 64.56 kB / 0.4985 GB, free: 152 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3241, allocations: 6.688 kB / 0.4985 GB, free: 148 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3241, allocations: 5.562 kB / 0.4986 GB, free: 148 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.3243, allocations: 84.27 kB / 0.4986 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3243, allocations: 9.453 kB / 0.4986 GB, free: 120 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.3245, allocations: 34.03 kB / 0.4987 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.3245, allocations: 18.41 kB / 0.4987 GB, free: 96 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.0001332/0.3246, allocations: 185 kB / 0.4989 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-05/0.3247, allocations: 53.89 kB / 0.4989 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005249/0.3253, allocations: 356.9 kB / 0.4993 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3253, allocations: 2.875 kB / 0.4993 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3253, allocations: 0 / 0.4993 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3253, allocations: 3.406 kB / 0.4993 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.3265, allocations: 1.189 MB / 0.5004 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3265, allocations: 4 kB / 0.5004 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.3267, allocations: 63.22 kB / 0.5005 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.3267, allocations: 4 kB / 0.5005 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.3267, allocations: 11.94 kB / 0.5005 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.3267, allocations: 7.938 kB / 0.5005 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3267, allocations: 3.984 kB / 0.5005 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.3272, allocations: 0.6609 MB / 0.5012 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.3272, allocations: 39.94 kB / 0.5012 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.3272, allocations: 19.83 kB / 0.5012 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.3274, allocations: 15.98 kB / 0.5012 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.3275, allocations: 31.89 kB / 0.5013 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.3275, allocations: 19.98 kB / 0.5013 GB, free: 13.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001707/0.3277, allocations: 259 kB / 0.5015 GB, free: 13.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3277, allocations: 4 kB / 0.5015 GB, free: 13.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006603/0.3283, allocations: 271.2 kB / 0.5018 GB, free: 13.14 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.0007468/0.3291, allocations: 422.1 kB / 0.5022 GB, free: 12.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004319/0.3295, allocations: 393.6 kB / 0.5026 GB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3295, allocations: 4 kB / 0.5026 GB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.3296, allocations: 103.4 kB / 0.5027 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007001/0.3303, allocations: 220.3 kB / 0.5029 GB, free: 12.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.3316, allocations: 0.7336 MB / 0.5036 GB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.259e-05/0.3317, allocations: 126.3 kB / 0.5037 GB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.3319, allocations: 91.22 kB / 0.5038 GB, free: 11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.156e-05/0.332, allocations: 40.5 kB / 0.5038 GB, free: 10.96 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.332, allocations: 4 kB / 0.5039 GB, free: 10.95 MB / 378.7 MB Notification: Performance of Templates: time 0.01406/0.346, allocations: 11.69 MB / 0.5153 GB, free: 15.34 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.6716140871867537]