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.001018/0.001018, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.001126/0.001126, allocations: 177 kB / 24.06 MB, free: 452 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.9346/0.9346, allocations: 158.6 MB / 185.9 MB, free: 2.801 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.1533/0.1533, allocations: 32.38 MB / 270.7 MB, free: 14.54 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.633e-06/1.633e-06, allocations: 0 / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.271e-05, allocations: 4.281 kB / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3087/0.3087, allocations: 144.4 MB / 492.5 MB, free: 9.625 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.3103, allocations: 0.873 MB / 493.4 MB, free: 9.414 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.3105, allocations: 13.78 kB / 493.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00042/0.311, allocations: 115.2 kB / 493.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000465/0.3114, allocations: 301.8 kB / 493.8 MB, free: 9.164 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002866/0.3143, allocations: 1.378 MB / 495.2 MB, free: 8.602 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009133/0.3152, allocations: 0.967 MB / 496.1 MB, free: 8.305 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004619/0.3157, allocations: 290.9 kB / 496.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.3168, allocations: 0.6947 MB / 497.1 MB, free: 8.047 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.3172, allocations: 297.5 kB / 497.4 MB, free: 7.949 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.363e-05/0.3172, allocations: 47.22 kB / 497.4 MB, free: 7.949 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.3192, allocations: 1.369 MB / 498.8 MB, free: 7.562 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.3193, allocations: 200.9 kB / 499 MB, free: 7.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.3195, allocations: 202.3 kB / 499.2 MB, free: 7.461 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.321, allocations: 1.387 MB / 0.4889 GB, free: 6.977 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3211, allocations: 3.5 kB / 0.4889 GB, free: 6.977 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3211, allocations: 0 / 0.4889 GB, free: 6.977 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3211, allocations: 0 / 0.4889 GB, free: 6.977 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.00107/0.3221, allocations: 0.9826 MB / 0.4898 GB, free: 6.227 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3222, allocations: 11.25 kB / 0.4898 GB, free: 6.227 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.3224, allocations: 92.66 kB / 0.4899 GB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.3227, allocations: 330.3 kB / 0.4902 GB, free: 5.969 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.3227, allocations: 34.25 kB / 0.4903 GB, free: 5.961 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.3227, allocations: 42.16 kB / 0.4903 GB, free: 5.961 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.3231, allocations: 0.6173 MB / 0.4909 GB, free: 5.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3232, allocations: 3.938 kB / 0.4909 GB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.3232, allocations: 18.62 kB / 0.4909 GB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.3232, allocations: 8.031 kB / 0.4909 GB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.3234, allocations: 201.3 kB / 0.4911 GB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.3246, allocations: 1.729 MB / 0.4928 GB, free: 3.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.3249, allocations: 217.2 kB / 0.493 GB, free: 3.762 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.251e-05/0.325, allocations: 78.28 kB / 0.4931 GB, free: 3.711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.3251, allocations: 80.94 kB / 0.4932 GB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.3252, allocations: 50.78 kB / 0.4932 GB, free: 3.629 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.3252, allocations: 0 / 0.4932 GB, free: 3.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.0003542/0.3255, allocations: 236.3 kB / 0.4935 GB, free: 3.523 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.3255, allocations: 109.9 kB / 0.4936 GB, free: 3.395 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.3257, allocations: 326 kB / 0.4939 GB, free: 3.172 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3257, allocations: 32.48 kB / 0.4939 GB, free: 3.137 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3258, allocations: 289.4 kB / 0.4942 GB, free: 2.883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.3259, allocations: 114.9 kB / 0.4943 GB, free: 2.789 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.003e-05/0.326, allocations: 83.3 kB / 0.4944 GB, free: 2.738 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.55e-05/0.326, allocations: 0.5159 MB / 0.4949 GB, free: 2.234 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.23e-05/0.3261, allocations: 101.5 kB / 0.495 GB, free: 2.156 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.3263, allocations: 258.9 kB / 0.4952 GB, free: 1.887 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.3265, allocations: 325.8 kB / 0.4955 GB, free: 1.594 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.3265, allocations: 2.969 kB / 0.4955 GB, free: 1.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003998/0.3269, allocations: 427.7 kB / 0.4959 GB, free: 1.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/0.327, allocations: 58.94 kB / 0.496 GB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.327, allocations: 7.422 kB / 0.496 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.327, allocations: 9.328 kB / 0.496 GB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.3272, allocations: 80.36 kB / 0.4961 GB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3272, allocations: 7.75 kB / 0.4961 GB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.3273, allocations: 41.5 kB / 0.4961 GB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.3274, allocations: 21.52 kB / 0.4962 GB, free: 1.191 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.0001313/0.3275, allocations: 185.1 kB / 0.4963 GB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.739e-05/0.3276, allocations: 52.42 kB / 0.4964 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004442/0.328, allocations: 323 kB / 0.4967 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.328, allocations: 6 kB / 0.4967 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.328, allocations: 7.062 kB / 0.4967 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3281, allocations: 3.984 kB / 0.4967 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.3293, allocations: 1.095 MB / 0.4978 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3293, allocations: 0 / 0.4978 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.3295, allocations: 55.91 kB / 0.4978 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.3295, allocations: 12.17 kB / 0.4978 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.3295, allocations: 8 kB / 0.4978 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.3295, allocations: 7.938 kB / 0.4979 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.3295, allocations: 7.938 kB / 0.4979 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004908/0.33, allocations: 0.636 MB / 0.4985 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.3301, allocations: 39.73 kB / 0.4985 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.3301, allocations: 19.83 kB / 0.4985 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.3303, allocations: 19.98 kB / 0.4986 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.3304, allocations: 27.89 kB / 0.4986 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.3304, allocations: 23.98 kB / 0.4986 GB, free: 14.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001406/0.3305, allocations: 241.2 kB / 0.4988 GB, free: 14.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3305, allocations: 4 kB / 0.4988 GB, free: 14.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007134/0.3312, allocations: 267.3 kB / 0.4991 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.0007827/0.332, allocations: 429 kB / 0.4995 GB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003584/0.3324, allocations: 353.2 kB / 0.4998 GB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3324, allocations: 0 / 0.4998 GB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.3325, allocations: 97.89 kB / 0.4999 GB, free: 13.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006941/0.3332, allocations: 216.1 kB / 0.5001 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.3342, allocations: 0.7287 MB / 0.5009 GB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.715e-05/0.3343, allocations: 126.3 kB / 0.501 GB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004573/0.3348, allocations: 75.25 kB / 0.501 GB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004206/0.3352, allocations: 301.9 kB / 0.5013 GB, free: 11.97 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3352, allocations: 0 / 0.5013 GB, free: 11.97 MB / 378.7 MB Notification: Performance of Templates: time 0.01509/0.3503, allocations: 13.58 MB / 0.5146 GB, free: 14.46 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.602809618227184]