Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.001341/0.001341, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002348/0.003688, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001194/0.001194, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001578/0.002772, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 1.008/1.008, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09269/1.101, allocations: 53.86 MB / 243.8 MB, free: 14.91 MB / 250.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.2935/0.2935, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02314/0.3167, allocations: 13.23 MB / 292.6 MB, free: 6.477 MB / 282.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 294 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.238e-05, allocations: 4.703 kB / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002063/0.002086, allocations: 1.802 MB / 295.8 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.003815, allocations: 1.762 MB / 297.5 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.003879, allocations: 0 / 297.5 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.004048, allocations: 39.7 kB / 297.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.004253, allocations: 100.7 kB / 297.7 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.004401, allocations: 79.59 kB / 297.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.00455, allocations: 115.6 kB / 297.9 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.346e-05/0.004634, allocations: 4 kB / 297.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.004756, allocations: 83.81 kB / 297.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.00486, allocations: 31.89 kB / 298 MB, free: 1.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.004877, allocations: 8 kB / 298 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.005047, allocations: 107.8 kB / 298.1 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.111e-05/0.005088, allocations: 11.94 kB / 298.1 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.005117, allocations: 19.94 kB / 298.1 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.005312, allocations: 151.4 kB / 298.3 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.382e-05/0.005325, allocations: 0 / 298.3 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.005327, allocations: 3.984 kB / 298.3 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.00534, allocations: 0 / 298.3 MB, free: 0.7734 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.0004305/0.005771, allocations: 345 kB / 298.6 MB, free: 424 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.005801, allocations: 12.92 kB / 298.6 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.005834, allocations: 16.8 kB / 298.6 MB, free: 396 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.005986, allocations: 146.2 kB / 298.8 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.006001, allocations: 384 / 298.8 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.006017, allocations: 4.375 kB / 298.8 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.006136, allocations: 105.2 kB / 298.9 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.006144, allocations: 3.938 kB / 298.9 MB, free: 88 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.006151, allocations: 0 / 298.9 MB, free: 88 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.006157, allocations: 4 kB / 298.9 MB, free: 84 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.884e-05/0.006185, allocations: 14.77 kB / 298.9 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.006388, allocations: 170 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.577e-05/0.006473, allocations: 89.3 kB / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.006492, allocations: 12.84 kB / 299.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.006502, allocations: 0 / 299.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.383e-05/0.006596, allocations: 74.09 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.006597, allocations: 3.938 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002695/0.006867, allocations: 105.6 kB / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.006904, allocations: 55.34 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.612e-05/0.007, allocations: 164.3 kB / 299.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.007013, allocations: 25.7 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.007041, allocations: 92.12 kB / 299.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.007065, allocations: 31.73 kB / 299.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.007097, allocations: 25.7 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.007167, allocations: 322.8 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.00718, allocations: 6.828 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.364e-05/0.007214, allocations: 61.19 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.218e-05/0.007256, allocations: 48.52 kB / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.007257, allocations: 0 / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.179e-05/0.007329, allocations: 76.42 kB / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.00734, allocations: 8.062 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.007344, allocations: 0 / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.007352, allocations: 0 / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.213e-05/0.007414, allocations: 19.94 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.007416, allocations: 0 / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.007445, allocations: 7.984 kB / 300.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.00745, allocations: 0 / 300.3 MB, free: 14.56 MB / 298.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.581e-05/0.007506, allocations: 120.6 kB / 300.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.007518, allocations: 15.92 kB / 300.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.108e-05/0.007609, allocations: 74.95 kB / 300.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007611, allocations: 4 kB / 300.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.007613, allocations: 0 / 300.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.007617, allocations: 3.984 kB / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.007816, allocations: 291.8 kB / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.007817, allocations: 0 / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.007845, allocations: 16 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.007859, allocations: 7.953 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.007863, allocations: 7.984 kB / 300.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.007869, allocations: 0 / 300.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.00787, allocations: 0 / 300.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007871, allocations: 4.031 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.828e-05/0.007969, allocations: 226.6 kB / 301 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.007985, allocations: 0 / 301 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.179e-05/0.008027, allocations: 7.984 kB / 301 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.008047, allocations: 0 / 301 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.00806, allocations: 11.98 kB / 301.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.554e-05/0.008095, allocations: 40.88 kB / 301.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008095, allocations: 0 / 301.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001685/0.008264, allocations: 55.73 kB / 301.1 MB, free: 13.63 MB / 298.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.001624/0.009888, allocations: 0.756 MB / 301.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.15e-05/0.009979, allocations: 44.77 kB / 301.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.009986, allocations: 0 / 301.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.68e-05/0.01001, allocations: 24.97 kB / 302 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.01018, allocations: 49.36 kB / 302 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.01057, allocations: 207.9 kB / 302.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.492e-05/0.01061, allocations: 63.34 kB / 302.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.303e-05/0.01065, allocations: 21.27 kB / 302.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.01072, allocations: 71.36 kB / 302.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01072, allocations: 0 / 302.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of Templates: time 0.003924/0.01464, allocations: 2.813 MB / 305.2 MB, free: 9.934 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.085207676514983]