Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.001049/0.001049, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.00129/0.00129, allocations: 165.8 kB / 24.84 MB, free: 9.297 MB / 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 1.041/1.041, allocations: 158.6 MB / 186.7 MB, free: 2.762 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.1489/0.1489, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.112e-05, allocations: 9.344 kB / 349 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002549/0.00258, allocations: 1.726 MB / 350.7 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003625, allocations: 0.7764 MB / 351.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.745e-05/0.003702, allocations: 4 kB / 351.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003364/0.004039, allocations: 43.7 kB / 351.5 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.004234, allocations: 59.69 kB / 351.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.004408, allocations: 87.7 kB / 351.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.004548, allocations: 99.62 kB / 351.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.216e-05/0.004641, allocations: 8.234 kB / 351.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.73e-05/0.004718, allocations: 47.89 kB / 351.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.004793, allocations: 23.91 kB / 351.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.004811, allocations: 4 kB / 351.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.039e-05/0.004882, allocations: 47.86 kB / 351.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.734e-05/0.004929, allocations: 23.92 kB / 351.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.004961, allocations: 19.92 kB / 352 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.005111, allocations: 99.59 kB / 352.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.005114, allocations: 4 kB / 352.1 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005115, allocations: 0 / 352.1 MB, free: 6 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.00512, allocations: 0 / 352.1 MB, free: 6 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.0003548/0.005474, allocations: 443.9 kB / 352.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.00551, allocations: 12.03 kB / 352.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.005545, allocations: 12.83 kB / 352.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.005665, allocations: 148.4 kB / 352.7 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.005682, allocations: 384 / 352.7 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.005699, allocations: 16.31 kB / 352.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.715e-05/0.005797, allocations: 58.88 kB / 352.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.005806, allocations: 7.938 kB / 352.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.005815, allocations: 4 kB / 352.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.00582, allocations: 0 / 352.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.536e-05/0.005845, allocations: 11.98 kB / 352.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.006054, allocations: 252.5 kB / 353 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.676e-05/0.006141, allocations: 55.09 kB / 353.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.00616, allocations: 11.69 kB / 353.1 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.006173, allocations: 3.984 kB / 353.1 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.276e-05/0.006256, allocations: 72.98 kB / 353.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.006257, allocations: 4 kB / 353.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002935/0.006551, allocations: 133.4 kB / 353.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.006574, allocations: 59.39 kB / 353.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.829e-05/0.006652, allocations: 216 kB / 353.5 MB, free: 4.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.00666, allocations: 25.7 kB / 353.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.006696, allocations: 154.8 kB / 353.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.006719, allocations: 27.78 kB / 353.8 MB, free: 4.133 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.006748, allocations: 27.36 kB / 353.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.317e-05/0.006801, allocations: 0.4923 MB / 354.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.006819, allocations: 15.92 kB / 354.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.273e-05/0.006842, allocations: 35.36 kB / 354.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.159e-05/0.006883, allocations: 39.36 kB / 354.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.006885, allocations: 0 / 354.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.692e-05/0.006972, allocations: 97.52 kB / 354.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.006984, allocations: 8 kB / 354.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.006989, allocations: 0 / 354.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.006998, allocations: 0 / 354.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.007061, allocations: 15.98 kB / 354.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.007063, allocations: 4 kB / 354.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.007092, allocations: 4.031 kB / 354.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.007098, allocations: 11.94 kB / 354.5 MB, free: 3.344 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 4.726e-05/0.007145, allocations: 160.5 kB / 354.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.007159, allocations: 19.83 kB / 354.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.007274, allocations: 98.39 kB / 354.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.007278, allocations: 4 kB / 354.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.007279, allocations: 0 / 354.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.007282, allocations: 3.984 kB / 354.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.007488, allocations: 357.6 kB / 355.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.00749, allocations: 4.031 kB / 355.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/0.007516, allocations: 12 kB / 355.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.007518, allocations: 0 / 355.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.007525, allocations: 0 / 355.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.007526, allocations: 0 / 355.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.007528, allocations: 7.984 kB / 355.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.471e-05/0.007623, allocations: 251.4 kB / 355.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.007633, allocations: 7.953 kB / 355.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.00765, allocations: 4.375 kB / 355.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.219e-05/0.007692, allocations: 4 kB / 355.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.007719, allocations: 11.98 kB / 355.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.007731, allocations: 4 kB / 355.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.091e-05/0.007772, allocations: 160 kB / 355.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007772, allocations: 0 / 355.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.007942, allocations: 31.92 kB / 355.6 MB, free: 2.148 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.0008871/0.00883, allocations: 432.6 kB / 356 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.008931, allocations: 55.52 kB / 356.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.008933, allocations: 0 / 356.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-05/0.008961, allocations: 31.73 kB / 356.1 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.009194, allocations: 43.09 kB / 356.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.009515, allocations: 217.3 kB / 356.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.284e-05/0.009548, allocations: 67.33 kB / 356.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.231e-05/0.00958, allocations: 16.42 kB / 356.5 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.009639, allocations: 94.19 kB / 356.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.00964, allocations: 0 / 356.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of Templates: time 0.003985/0.01362, allocations: 2.028 MB / 358.6 MB, free: 15.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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.427079110406339]