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.00115/0.00115, allocations: 85.86 kB / 21.44 MB, free: 3.055 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.001135/0.001135, allocations: 168.2 kB / 24.83 MB, free: 9.301 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.9329/0.9329, allocations: 158.6 MB / 186.7 MB, free: 2.777 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.1235/0.1235, allocations: 32.36 MB / 271.5 MB, free: 14.55 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.723e-06/1.723e-06, allocations: 0 / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.682e-05, allocations: 2.312 kB / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2904/0.2905, allocations: 144.4 MB / 493.3 MB, free: 9.602 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.2919, allocations: 0.8817 MB / 494.2 MB, free: 9.383 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.2921, allocations: 15.84 kB / 494.2 MB, free: 9.375 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.2925, allocations: 104.7 kB / 494.3 MB, free: 9.301 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004224/0.2929, allocations: 304.8 kB / 494.6 MB, free: 9.137 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.2954, allocations: 1.373 MB / 495.9 MB, free: 8.578 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007373/0.2961, allocations: 0.9646 MB / 496.9 MB, free: 8.285 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003612/0.2965, allocations: 294.5 kB / 497.2 MB, free: 8.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008674/0.2974, allocations: 0.6963 MB / 497.9 MB, free: 8.023 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/0.2977, allocations: 297.5 kB / 498.2 MB, free: 7.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.276e-05/0.2978, allocations: 46.84 kB / 498.2 MB, free: 7.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.2995, allocations: 1.361 MB / 499.6 MB, free: 7.543 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.2997, allocations: 214.2 kB / 499.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.2999, allocations: 199.7 kB / 500 MB, free: 7.434 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.3015, allocations: 1.383 MB / 0.4896 GB, free: 6.953 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3015, allocations: 0 / 0.4896 GB, free: 6.953 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3015, allocations: 0 / 0.4896 GB, free: 6.953 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.3015, allocations: 0 / 0.4896 GB, free: 6.953 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.001066/0.3026, allocations: 0.9954 MB / 0.4906 GB, free: 6.199 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3026, allocations: 7.656 kB / 0.4906 GB, free: 6.199 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.3029, allocations: 92.91 kB / 0.4907 GB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.3032, allocations: 333.7 kB / 0.491 GB, free: 5.938 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.3033, allocations: 25 kB / 0.491 GB, free: 5.934 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.3033, allocations: 47.72 kB / 0.4911 GB, free: 5.934 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004191/0.3037, allocations: 0.6141 MB / 0.4917 GB, free: 5.402 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3037, allocations: 3.938 kB / 0.4917 GB, free: 5.398 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.3038, allocations: 15.41 kB / 0.4917 GB, free: 5.398 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.3038, allocations: 8.781 kB / 0.4917 GB, free: 5.398 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.304, allocations: 196.6 kB / 0.4919 GB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.3053, allocations: 1.74 MB / 0.4936 GB, free: 3.906 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.3055, allocations: 207.9 kB / 0.4938 GB, free: 3.762 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.497e-05/0.3056, allocations: 88.47 kB / 0.4939 GB, free: 3.703 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.3058, allocations: 69.09 kB / 0.4939 GB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.3058, allocations: 50.78 kB / 0.494 GB, free: 3.621 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.865e-06/0.3058, allocations: 0 / 0.494 GB, free: 3.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.0003697/0.3062, allocations: 239.3 kB / 0.4942 GB, free: 3.512 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.3062, allocations: 108.1 kB / 0.4943 GB, free: 3.387 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.3064, allocations: 326.2 kB / 0.4946 GB, free: 3.164 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.3064, allocations: 32.42 kB / 0.4947 GB, free: 3.129 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/0.3065, allocations: 283.1 kB / 0.4949 GB, free: 2.879 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.3065, allocations: 118.7 kB / 0.495 GB, free: 2.781 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.3066, allocations: 89 kB / 0.4951 GB, free: 2.727 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.648e-05/0.3067, allocations: 0.5148 MB / 0.4956 GB, free: 2.223 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.629e-05/0.3068, allocations: 101.4 kB / 0.4957 GB, free: 2.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.3069, allocations: 256.7 kB / 0.496 GB, free: 1.879 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.3071, allocations: 323.6 kB / 0.4963 GB, free: 1.586 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3071, allocations: 0 / 0.4963 GB, free: 1.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003632/0.3075, allocations: 433.7 kB / 0.4967 GB, free: 1.309 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.3075, allocations: 57.66 kB / 0.4968 GB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3075, allocations: 5.188 kB / 0.4968 GB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3075, allocations: 9.484 kB / 0.4968 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.3077, allocations: 76.59 kB / 0.4968 GB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3077, allocations: 13.55 kB / 0.4969 GB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.3079, allocations: 37.47 kB / 0.4969 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.3079, allocations: 19.3 kB / 0.4969 GB, free: 1.188 MB / 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.0001012/0.308, allocations: 187.3 kB / 0.4971 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.128e-05/0.3081, allocations: 46.05 kB / 0.4971 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003969/0.3085, allocations: 321.5 kB / 0.4974 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3085, allocations: 5.531 kB / 0.4974 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.3085, allocations: 0 / 0.4974 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3085, allocations: 3.984 kB / 0.4974 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.3095, allocations: 1.093 MB / 0.4985 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3096, allocations: 4 kB / 0.4985 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.3097, allocations: 55.91 kB / 0.4986 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3097, allocations: 4 kB / 0.4986 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.3097, allocations: 11.98 kB / 0.4986 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.391e-06/0.3097, allocations: 7.938 kB / 0.4986 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3097, allocations: 8.125 kB / 0.4986 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.3101, allocations: 0.6425 MB / 0.4992 GB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.3102, allocations: 38.08 kB / 0.4993 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.3102, allocations: 23.77 kB / 0.4993 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.3104, allocations: 15.98 kB / 0.4993 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.3104, allocations: 27.95 kB / 0.4993 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.3105, allocations: 19.98 kB / 0.4993 GB, free: 14.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001362/0.3106, allocations: 234.6 kB / 0.4996 GB, free: 14.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3106, allocations: 0 / 0.4996 GB, free: 14.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006685/0.3113, allocations: 275.2 kB / 0.4998 GB, free: 14.33 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.0007483/0.312, allocations: 422.4 kB / 0.5002 GB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.3124, allocations: 350.2 kB / 0.5006 GB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.3124, allocations: 4.688 kB / 0.5006 GB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.852e-05/0.3125, allocations: 102.1 kB / 0.5007 GB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.3131, allocations: 214.1 kB / 0.5009 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009792/0.3141, allocations: 0.7323 MB / 0.5016 GB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.044e-05/0.3142, allocations: 130.3 kB / 0.5017 GB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.3144, allocations: 75.25 kB / 0.5018 GB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/0.3149, allocations: 301.9 kB / 0.5021 GB, free: 11.96 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.3149, allocations: 0 / 0.5021 GB, free: 11.96 MB / 378.7 MB Notification: Performance of Templates: time 0.0158/0.3307, allocations: 13.71 MB / 0.5155 GB, free: 14.32 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.654133542906493]