Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001096/0.001096, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001844/0.00294, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001151/0.001151, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001511/0.002662, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9836/0.9836, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08043/1.064, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2501/0.2501, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0226/0.2727, allocations: 13.1 MB / 291.5 MB, free: 7.344 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009e-05/1.144e-05, allocations: 7.797 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.14/0.14, allocations: 148.7 MB / 441.5 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.142, allocations: 0.9097 MB / 442.4 MB, free: 56 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.1422, allocations: 15.88 kB / 442.4 MB, free: 40 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.2058/0.348, allocations: 110.8 kB / 442.5 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008076/0.3489, allocations: 294.3 kB / 442.8 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.352, allocations: 1.262 MB / 444.1 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.353, allocations: 0.9574 MB / 445 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003888/0.3534, allocations: 298.9 kB / 445.3 MB, free: 3.617 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.3545, allocations: 0.7272 MB / 446.1 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004197/0.3549, allocations: 282.2 kB / 446.3 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.266e-05/0.355, allocations: 46 kB / 446.4 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.3568, allocations: 1.448 MB / 447.8 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.357, allocations: 175.5 kB / 448 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.3572, allocations: 159.9 kB / 448.2 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.3585, allocations: 1.183 MB / 449.3 MB, free: 3.504 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.263e-05/0.3585, allocations: 2.938 kB / 449.3 MB, free: 3.504 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3585, allocations: 1 kB / 449.4 MB, free: 3.504 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.3585, allocations: 0 / 449.4 MB, free: 3.504 MB / 426.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.001333/0.3599, allocations: 1.043 MB / 450.4 MB, free: 18.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3599, allocations: 11.47 kB / 450.4 MB, free: 18.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.3601, allocations: 161.4 kB / 450.6 MB, free: 18.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.3605, allocations: 290.1 kB / 450.8 MB, free: 18.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.3605, allocations: 36.48 kB / 450.9 MB, free: 18.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.3605, allocations: 40.69 kB / 450.9 MB, free: 18.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.361, allocations: 0.6055 MB / 451.5 MB, free: 18.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.361, allocations: 0 / 451.5 MB, free: 18.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.361, allocations: 16.44 kB / 451.5 MB, free: 18.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.361, allocations: 12.47 kB / 451.6 MB, free: 18.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.3612, allocations: 195.5 kB / 451.7 MB, free: 18.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.3625, allocations: 1.285 MB / 453 MB, free: 17.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.3627, allocations: 285.1 kB / 453.3 MB, free: 17.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.45e-05/0.3628, allocations: 72.8 kB / 453.4 MB, free: 17.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.363, allocations: 71.33 kB / 453.5 MB, free: 17.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.363, allocations: 40.75 kB / 453.5 MB, free: 17.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 2.234e-06/0.363, allocations: 0.9375 kB / 453.5 MB, free: 17.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=30): time 0.000282/0.3633, allocations: 191.5 kB / 453.7 MB, free: 17.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.3633, allocations: 112.1 kB / 453.8 MB, free: 17.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.3634, allocations: 267.8 kB / 454 MB, free: 16.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.3635, allocations: 35.95 kB / 454.1 MB, free: 16.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.764e-05/0.3636, allocations: 208.7 kB / 454.3 MB, free: 16.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.3636, allocations: 105.2 kB / 454.4 MB, free: 16.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-05/0.3637, allocations: 80.66 kB / 454.5 MB, free: 16.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.3638, allocations: 344.2 kB / 454.8 MB, free: 16.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.305e-05/0.3639, allocations: 101 kB / 454.9 MB, free: 16.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.364, allocations: 208.8 kB / 455.1 MB, free: 16.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.3642, allocations: 305.6 kB / 455.4 MB, free: 15.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3642, allocations: 0 / 455.4 MB, free: 15.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000294/0.3645, allocations: 365.3 kB / 455.8 MB, free: 15.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.3645, allocations: 65.83 kB / 455.8 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3645, allocations: 3 kB / 455.8 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3645, allocations: 8.344 kB / 455.8 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.3648, allocations: 91.77 kB / 455.9 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3648, allocations: 8.438 kB / 455.9 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.3649, allocations: 43.23 kB / 456 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.3649, allocations: 17.12 kB / 456 MB, free: 15.68 MB / 442.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.0001035/0.365, allocations: 141.2 kB / 456.1 MB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.3651, allocations: 38.08 kB / 456.2 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/0.3654, allocations: 293.4 kB / 456.5 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3655, allocations: 3.5 kB / 456.5 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.3655, allocations: 3.938 kB / 456.5 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3655, allocations: 3.141 kB / 456.5 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009164/0.3664, allocations: 0.9975 MB / 457.5 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3664, allocations: 4.562 kB / 457.5 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.3665, allocations: 61.39 kB / 457.5 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.3666, allocations: 41.83 kB / 457.6 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3666, allocations: 2.406 kB / 457.6 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3666, allocations: 6.812 kB / 457.6 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3666, allocations: 17.56 kB / 457.6 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3666, allocations: 0 / 457.6 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.3669, allocations: 0.5838 MB / 458.2 MB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.3669, allocations: 13.36 kB / 458.2 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.3671, allocations: 19.16 kB / 458.2 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.3671, allocations: 31.42 kB / 458.2 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.3672, allocations: 19.45 kB / 458.3 MB, free: 14.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.441e-05/0.3673, allocations: 129.9 kB / 458.4 MB, free: 14.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3673, allocations: 2.125 kB / 458.4 MB, free: 14.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005808/0.3678, allocations: 282.2 kB / 458.7 MB, free: 14.32 MB / 442.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.0006564/0.3685, allocations: 393.4 kB / 459.1 MB, free: 14.22 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.3688, allocations: 348.5 kB / 459.4 MB, free: 14.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/0.3688, allocations: 12.12 kB / 459.4 MB, free: 14.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.3689, allocations: 106.7 kB / 459.5 MB, free: 14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.37, allocations: 1.08 MB / 460.6 MB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.3731, allocations: 0.7666 MB / 461.4 MB, free: 12.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.981e-05/0.3732, allocations: 121.3 kB / 461.5 MB, free: 12.51 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002213/0.3734, allocations: 77.64 kB / 461.5 MB, free: 12.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/0.3738, allocations: 245.8 kB / 461.8 MB, free: 12.44 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3738, allocations: 0 / 461.8 MB, free: 12.44 MB / 442.7 MB Notification: Performance of Templates: time 0.01434/0.3882, allocations: 13.56 MB / 475.4 MB, free: 10.9 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4074298962950706]