Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001207/0.001207, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002164/0.003371, 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.001115/0.001115, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001686/0.002801, 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.9118/0.9118, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1654/1.077, allocations: 52.49 MB / 238.5 MB, free: 7.625 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.1536/0.1536, allocations: 32.79 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02229/0.1759, allocations: 12.54 MB / 284.5 MB, free: 9.715 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 285.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.077e-05, allocations: 5.406 kB / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002109/0.00213, allocations: 1.784 MB / 287.7 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.003154, allocations: 0.8726 MB / 288.6 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.715e-05/0.003222, allocations: 8 kB / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.003413, allocations: 35.77 kB / 288.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.003565, allocations: 59.58 kB / 288.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.00382, allocations: 111.5 kB / 288.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.003972, allocations: 107.6 kB / 288.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.731e-05/0.004049, allocations: 8.172 kB / 288.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.004164, allocations: 67.84 kB / 289 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.951e-05/0.004244, allocations: 31.89 kB / 289 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.00426, allocations: 4 kB / 289 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.363e-05/0.004344, allocations: 47.86 kB / 289.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.142e-05/0.004385, allocations: 15.94 kB / 289.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.004415, allocations: 11.94 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.004583, allocations: 91.67 kB / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.004594, allocations: 0 / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004595, allocations: 0 / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.004604, allocations: 0 / 289.2 MB, free: 5.047 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.0003881/0.004992, allocations: 323.9 kB / 289.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.005025, allocations: 8.031 kB / 289.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.005056, allocations: 8.875 kB / 289.5 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.005197, allocations: 153.5 kB / 289.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.00521, allocations: 4.375 kB / 289.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.005228, allocations: 4.359 kB / 289.7 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.857e-05/0.005326, allocations: 65.77 kB / 289.7 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.005336, allocations: 3.938 kB / 289.7 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-06/0.005342, allocations: 0 / 289.7 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.00535, allocations: 4 kB / 289.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.005372, allocations: 11.98 kB / 289.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.005559, allocations: 161.9 kB / 289.9 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.04e-05/0.00565, allocations: 89.28 kB / 290 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.005668, allocations: 16.84 kB / 290 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.005678, allocations: 4 kB / 290 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.04e-05/0.005768, allocations: 66.16 kB / 290.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.005769, allocations: 0 / 290.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002746/0.006044, allocations: 113.5 kB / 290.2 MB, free: 3.922 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.006067, allocations: 51.41 kB / 290.3 MB, free: 3.859 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.006153, allocations: 161.7 kB / 290.4 MB, free: 3.688 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.006167, allocations: 29.64 kB / 290.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.006195, allocations: 96.08 kB / 290.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.006219, allocations: 31.78 kB / 290.6 MB, free: 3.523 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.006247, allocations: 21.7 kB / 290.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.006315, allocations: 322.8 kB / 290.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.006332, allocations: 14.81 kB / 290.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.154e-05/0.006353, allocations: 21.7 kB / 290.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.00639, allocations: 40.52 kB / 291 MB, free: 3.082 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.006391, allocations: 0 / 291 MB, free: 3.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.841e-05/0.006459, allocations: 72.45 kB / 291 MB, free: 3.004 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.006471, allocations: 7.984 kB / 291.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006475, allocations: 4.031 kB / 291.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.006486, allocations: 0 / 291.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.006549, allocations: 27.88 kB / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.006552, allocations: 0 / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.006578, allocations: 7.984 kB / 291.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.006582, allocations: 0 / 291.1 MB, free: 2.957 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 5.914e-05/0.006641, allocations: 120.7 kB / 291.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.006654, allocations: 15.92 kB / 291.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.263e-05/0.006747, allocations: 74.39 kB / 291.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.006749, allocations: 4 kB / 291.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.00675, allocations: 0 / 291.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.006753, allocations: 0 / 291.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.006961, allocations: 283.8 kB / 291.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.006962, allocations: 4 kB / 291.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.00699, allocations: 15.98 kB / 291.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.007, allocations: 7.953 kB / 291.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.007002, allocations: 0 / 291.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.00701, allocations: 8 kB / 291.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.007011, allocations: 0 / 291.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007012, allocations: 0 / 291.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.556e-05/0.007108, allocations: 223 kB / 291.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.007122, allocations: 4 kB / 291.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.737e-05/0.00716, allocations: 4 kB / 291.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.007183, allocations: 7.984 kB / 291.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.007194, allocations: 4 kB / 291.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.439e-05/0.007229, allocations: 42.91 kB / 291.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007229, allocations: 0 / 291.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001431/0.007372, allocations: 31.88 kB / 291.9 MB, free: 2.059 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.001306/0.008678, allocations: 0.6331 MB / 292.6 MB, free: 1.738 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.208e-05/0.00877, allocations: 48.77 kB / 292.6 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.008776, allocations: 0 / 292.6 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.317e-05/0.008829, allocations: 40.86 kB / 292.6 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.009045, allocations: 180.1 kB / 292.8 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.009493, allocations: 219.4 kB / 293 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.604e-05/0.009529, allocations: 67.33 kB / 293.1 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.476e-05/0.009564, allocations: 12.5 kB / 293.1 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.009624, allocations: 71.36 kB / 293.2 MB, free: 1.023 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.009625, allocations: 8.031 kB / 293.2 MB, free: 1.016 MB / 282.7 MB Notification: Performance of Templates: time 0.003478/0.0131, allocations: 2.007 MB / 295.2 MB, free: 15.04 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.942981168627739]