Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009561/0.0009561, allocations: 81.81 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001046, allocations: 164.5 kB / 24.82 MB, free: 9.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9464/0.9464, allocations: 177 MB / 205.1 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2365/0.2365, allocations: 34.87 MB / 296.6 MB, free: 0.5117 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 379.3 MB, free: 1.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.829e-05, allocations: 4.984 kB / 379.3 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002135/0.002164, allocations: 1.758 MB / 381.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.00334, allocations: 1.004 MB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.09e-05/0.003421, allocations: 0 / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.003689, allocations: 59.62 kB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.003962, allocations: 91.55 kB / 382.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.004144, allocations: 83.59 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.004281, allocations: 111.6 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.004371, allocations: 4 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.407e-05/0.004465, allocations: 55.83 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.071e-05/0.004536, allocations: 31.84 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.00455, allocations: 4 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.512e-05/0.004625, allocations: 47.92 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.339e-05/0.004669, allocations: 23.92 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.004703, allocations: 27.86 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.004854, allocations: 103.6 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.004856, allocations: 0 / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004857, allocations: 0 / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004861, allocations: 0 / 382.7 MB, free: 14.35 MB / 362.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.0004078/0.005269, allocations: 467.7 kB / 383.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.005305, allocations: 8.031 kB / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.00534, allocations: 16.84 kB / 383.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.005481, allocations: 153.2 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.005495, allocations: 12.31 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.00551, allocations: 384 / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.951e-05/0.00561, allocations: 62.94 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.005618, allocations: 192 / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.005626, allocations: 4.359 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.005632, allocations: 3.938 kB / 383.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.357e-05/0.005656, allocations: 11.94 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.00589, allocations: 268.4 kB / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.952e-05/0.00597, allocations: 47.17 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.00599, allocations: 15.69 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.006004, allocations: 0 / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.394e-05/0.006088, allocations: 72.97 kB / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/0.006088, allocations: 0 / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002997/0.006388, allocations: 145.4 kB / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.006414, allocations: 51.41 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.006537, allocations: 251 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.00655, allocations: 29.7 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.006612, allocations: 158.8 kB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.006638, allocations: 27.78 kB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.006672, allocations: 35.36 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.006787, allocations: 0.4962 MB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.006805, allocations: 11.98 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.006833, allocations: 31.36 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.441e-05/0.006877, allocations: 47.3 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.006878, allocations: 0 / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.376e-05/0.006972, allocations: 93.83 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.006982, allocations: 4 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.006986, allocations: 4.031 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.006997, allocations: 4 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.889e-05/0.007056, allocations: 20 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.007058, allocations: 0 / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.007087, allocations: 7.984 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.007092, allocations: 0 / 385.2 MB, free: 11.61 MB / 362.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 7.409e-05/0.007166, allocations: 160.6 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.007184, allocations: 19.84 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.007327, allocations: 99.06 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.00733, allocations: 7.938 kB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.007332, allocations: 4 kB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.007337, allocations: 3.984 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.007602, allocations: 373.5 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.007604, allocations: 0 / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.00763, allocations: 11.94 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.007634, allocations: 4 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.007639, allocations: 0 / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.00764, allocations: 0 / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.007641, allocations: 0 / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.007777, allocations: 259.4 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.007788, allocations: 11.98 kB / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.007806, allocations: 11.98 kB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.007846, allocations: 0 / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.00787, allocations: 7.984 kB / 386.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.007881, allocations: 4 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.309e-05/0.007954, allocations: 171.1 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.007954, allocations: 0 / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.008124, allocations: 31.89 kB / 386.4 MB, free: 10.38 MB / 362.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.0008345/0.008959, allocations: 429.3 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.643e-05/0.009055, allocations: 55.58 kB / 386.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.009057, allocations: 0 / 386.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.00909, allocations: 35.61 kB / 386.9 MB, free: 9.984 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.009308, allocations: 27.92 kB / 386.9 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.009604, allocations: 241.5 kB / 387.2 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.816e-05/0.009642, allocations: 67.33 kB / 387.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.835e-05/0.00968, allocations: 21.41 kB / 387.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.009745, allocations: 86.19 kB / 387.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009746, allocations: 0 / 387.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of Templates: time 0.003613/0.01336, allocations: 2.05 MB / 389.4 MB, free: 7.477 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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: 2.8714435170404613]