Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.00082/0.00082, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.002126, 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.0006918/0.0006918, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009245/0.001616, 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.9053/0.9053, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.186/1.091, allocations: 52.48 MB / 238.5 MB, free: 7.641 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.1348/0.1348, allocations: 32.8 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02338/0.1582, allocations: 12.53 MB / 284.5 MB, free: 9.723 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 285.9 MB, free: 8.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.07e-05, allocations: 5.547 kB / 285.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002774/0.002795, allocations: 1.984 MB / 287.9 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.004066, allocations: 0.9193 MB / 288.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.581e-05/0.004162, allocations: 0 / 288.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.004412, allocations: 51.62 kB / 288.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.004579, allocations: 59.58 kB / 288.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.004855, allocations: 131.5 kB / 289.1 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.005055, allocations: 143.5 kB / 289.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/0.005151, allocations: 22.28 kB / 289.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.005303, allocations: 100.5 kB / 289.3 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.223e-05/0.005396, allocations: 39.83 kB / 289.4 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.005417, allocations: 8 kB / 289.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.291e-05/0.00551, allocations: 51.86 kB / 289.4 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.00556, allocations: 23.86 kB / 289.5 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.005609, allocations: 23.94 kB / 289.5 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.005806, allocations: 111.6 kB / 289.6 MB, free: 4.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.779e-06/0.005815, allocations: 4 kB / 289.6 MB, free: 4.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005816, allocations: 3.938 kB / 289.6 MB, free: 4.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.005825, allocations: 0 / 289.6 MB, free: 4.652 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004999/0.006325, allocations: 397.4 kB / 290 MB, free: 4.234 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.006356, allocations: 12.03 kB / 290 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.006398, allocations: 12.92 kB / 290 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.006579, allocations: 161.4 kB / 290.2 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.006596, allocations: 12.36 kB / 290.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.00662, allocations: 12.06 kB / 290.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.006784, allocations: 137.4 kB / 290.3 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.006791, allocations: 0 / 290.3 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.006799, allocations: 0 / 290.3 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.006805, allocations: 4 kB / 290.3 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.218e-05/0.006848, allocations: 22.75 kB / 290.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.007195, allocations: 374.1 kB / 290.7 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.00737, allocations: 113.2 kB / 290.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.007397, allocations: 20.86 kB / 290.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.007407, allocations: 0 / 290.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.00753, allocations: 103.9 kB / 290.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.007532, allocations: 0 / 290.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001388/0.00767, allocations: 69.61 kB / 291 MB, free: 3.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.007697, allocations: 59.39 kB / 291.1 MB, free: 3.016 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.007819, allocations: 174.5 kB / 291.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.007836, allocations: 25.7 kB / 291.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.007889, allocations: 112 kB / 291.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.00791, allocations: 31.77 kB / 291.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.007954, allocations: 37.64 kB / 291.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.186e-05/0.008036, allocations: 330.7 kB / 291.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.00806, allocations: 10.83 kB / 291.8 MB, free: 2.266 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.396e-05/0.008104, allocations: 44.28 kB / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.51e-05/0.008179, allocations: 69.84 kB / 291.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008181, allocations: 0 / 291.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001213/0.008303, allocations: 92.36 kB / 292 MB, free: 2.023 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.008316, allocations: 8 kB / 292 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.00832, allocations: 0 / 292 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.008333, allocations: 4 kB / 292 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.00842, allocations: 27.92 kB / 292 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.008424, allocations: 0 / 292 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.316e-05/0.008467, allocations: 11.94 kB / 292 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.008477, allocations: 7.938 kB / 292 MB, free: 1.965 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.153e-05/0.008549, allocations: 120.8 kB / 292.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.008568, allocations: 15.92 kB / 292.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.008681, allocations: 79.06 kB / 292.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.008683, allocations: 0 / 292.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.008686, allocations: 4 kB / 292.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008689, allocations: 0 / 292.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.008789, allocations: 109.7 kB / 292.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008791, allocations: 0 / 292.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.534e-05/0.008856, allocations: 19.94 kB / 292.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.008872, allocations: 15.92 kB / 292.4 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.008874, allocations: 0 / 292.4 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.008881, allocations: 4 kB / 292.4 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.008882, allocations: 0 / 292.4 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008883, allocations: 0 / 292.4 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.009025, allocations: 115.2 kB / 292.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.009045, allocations: 7.984 kB / 292.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.717e-05/0.009082, allocations: 8 kB / 292.5 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.009111, allocations: 7.984 kB / 292.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.009124, allocations: 4 kB / 292.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.355e-05/0.009177, allocations: 53.55 kB / 292.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009177, allocations: 0 / 292.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.009357, allocations: 35.98 kB / 292.6 MB, free: 1.32 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001365/0.01072, allocations: 0.5631 MB / 293.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.01083, allocations: 48.72 kB / 293.2 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.01084, allocations: 4 kB / 293.2 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.102e-05/0.01089, allocations: 36.83 kB / 293.3 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.01114, allocations: 238.2 kB / 293.5 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.01177, allocations: 268.9 kB / 293.8 MB, free: 384 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.617e-05/0.01181, allocations: 63.84 kB / 293.8 MB, free: 300 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.106e-05/0.01186, allocations: 17.14 kB / 293.9 MB, free: 280 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.659e-05/0.01196, allocations: 71.36 kB / 293.9 MB, free: 208 kB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01196, allocations: 0 / 293.9 MB, free: 208 kB / 282.7 MB Notification: Performance of Templates: time 0.004684/0.01664, allocations: 2.242 MB / 296.2 MB, free: 14 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.753688408061862]