Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001758/0.0028, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008215/0.0008215, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.002115, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9763/0.9763, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1741/1.15, allocations: 52.48 MB / 238.5 MB, free: 7.645 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1307/0.1307, allocations: 32.8 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02206/0.1527, allocations: 12.53 MB / 284.5 MB, free: 9.73 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 285.9 MB, free: 8.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179e-05/1.333e-05, allocations: 10.25 kB / 285.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002468/0.002481, allocations: 1.783 MB / 287.7 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.003717, allocations: 0.8765 MB / 288.6 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.796e-05/0.003784, allocations: 0 / 288.6 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.003972, allocations: 51.69 kB / 288.7 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.004119, allocations: 51.64 kB / 288.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.004358, allocations: 119.5 kB / 288.8 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.004524, allocations: 87.72 kB / 288.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.023e-05/0.004604, allocations: 16.16 kB / 288.9 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.004733, allocations: 75.77 kB / 289 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.774e-05/0.00481, allocations: 23.92 kB / 289 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.004829, allocations: 4 kB / 289 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.747e-05/0.004916, allocations: 35.92 kB / 289.1 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.633e-05/0.004962, allocations: 27.92 kB / 289.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.004996, allocations: 15.94 kB / 289.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.005163, allocations: 95.59 kB / 289.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.005173, allocations: 0 / 289.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005174, allocations: 0 / 289.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.005182, allocations: 3.938 kB / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000423/0.005605, allocations: 327.9 kB / 289.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.005637, allocations: 8.031 kB / 289.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.00567, allocations: 4.938 kB / 289.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.005821, allocations: 152.6 kB / 289.7 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.005835, allocations: 4.375 kB / 289.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.005854, allocations: 4.375 kB / 289.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.005955, allocations: 65.75 kB / 289.8 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.005964, allocations: 3.938 kB / 289.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.00597, allocations: 0 / 289.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005976, allocations: 0 / 289.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.835e-05/0.006004, allocations: 15.98 kB / 289.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.006201, allocations: 158 kB / 289.9 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.568e-05/0.006297, allocations: 93.28 kB / 290 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/0.006319, allocations: 16.86 kB / 290 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.006331, allocations: 0 / 290 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.006436, allocations: 70.14 kB / 290.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.006437, allocations: 0 / 290.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003189/0.006756, allocations: 109.5 kB / 290.2 MB, free: 3.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.006787, allocations: 51.41 kB / 290.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.006911, allocations: 172.3 kB / 290.4 MB, free: 3.688 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.006927, allocations: 25.7 kB / 290.5 MB, free: 3.656 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.006963, allocations: 88.12 kB / 290.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.006993, allocations: 27.78 kB / 290.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.007031, allocations: 29.7 kB / 290.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.007124, allocations: 326.8 kB / 290.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.007144, allocations: 14.75 kB / 290.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.007172, allocations: 25.7 kB / 291 MB, free: 3.129 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.007219, allocations: 36.52 kB / 291 MB, free: 3.086 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.00722, allocations: 0 / 291 MB, free: 3.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.52e-05/0.007315, allocations: 84.42 kB / 291.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.007328, allocations: 8 kB / 291.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.007332, allocations: 0 / 291.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.007343, allocations: 4.031 kB / 291.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/0.007416, allocations: 16 kB / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.007419, allocations: 0 / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.177e-05/0.007451, allocations: 3.984 kB / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.007458, allocations: 4 kB / 291.1 MB, free: 2.961 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 prepare postOptimizeDAE: time 6.563e-05/0.007523, allocations: 120.6 kB / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.007539, allocations: 11.92 kB / 291.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.007647, allocations: 74.39 kB / 291.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.007651, allocations: 7.984 kB / 291.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.007652, allocations: 4 kB / 291.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.007656, allocations: 0 / 291.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.007889, allocations: 291.8 kB / 291.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.00789, allocations: 0 / 291.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.007925, allocations: 16 kB / 291.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.007936, allocations: 7.953 kB / 291.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.007938, allocations: 0 / 291.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.007946, allocations: 8 kB / 291.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.007947, allocations: 0 / 291.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.007949, allocations: 3.984 kB / 291.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.008063, allocations: 219 kB / 291.9 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.008082, allocations: 8 kB / 291.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.59e-05/0.008138, allocations: 0 / 291.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.008165, allocations: 7.984 kB / 291.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.008176, allocations: 4 kB / 291.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.304e-05/0.008229, allocations: 49.39 kB / 291.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008229, allocations: 0 / 291.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002074/0.008436, allocations: 23.94 kB / 292 MB, free: 2.055 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001575/0.01001, allocations: 0.6402 MB / 292.6 MB, free: 1.727 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.641e-05/0.01011, allocations: 52.75 kB / 292.6 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.01011, allocations: 0 / 292.6 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.36e-05/0.01016, allocations: 28.8 kB / 292.7 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.01042, allocations: 191.5 kB / 292.9 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.01086, allocations: 219.5 kB / 293.1 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.026e-05/0.0109, allocations: 63.34 kB / 293.1 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.875e-05/0.01094, allocations: 20.48 kB / 293.2 MB, free: 1.078 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.01101, allocations: 67.36 kB / 293.2 MB, free: 1.012 MB / 282.7 MB Notification: Performance of SimCode: time 4.9e-07/0.01101, allocations: 0 / 293.2 MB, free: 1.012 MB / 282.7 MB Notification: Performance of Templates: time 0.003864/0.01487, allocations: 2.016 MB / 295.2 MB, free: 15.03 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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: 2.9014490535482764]