Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.001478/0.001478, allocations: 85.91 kB / 22.22 MB, free: 2.281 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.001126/0.001126, allocations: 164.3 kB / 25.61 MB, free: 8.852 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 1.032/1.032, allocations: 177 MB / 205.9 MB, free: 4.434 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.1651/0.1651, allocations: 34.87 MB / 297.4 MB, free: 13.32 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.098e-05, allocations: 4.281 kB / 380.1 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003218/0.003249, allocations: 1.744 MB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.004809, allocations: 0.9969 MB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.004929, allocations: 0 / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.005261, allocations: 35.83 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.00564, allocations: 111.3 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.005907, allocations: 75.66 kB / 383.1 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.006105, allocations: 111.6 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.006208, allocations: 4 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.006332, allocations: 55.89 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.006432, allocations: 27.91 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.006457, allocations: 4 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.00658, allocations: 51.8 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.006646, allocations: 27.91 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.00669, allocations: 15.94 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.006933, allocations: 95.66 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.006938, allocations: 4 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.006941, allocations: 3.984 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.006948, allocations: 0 / 383.5 MB, free: 19.27 MB / 314.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.0005718/0.007519, allocations: 443.8 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.00757, allocations: 12.03 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.007628, allocations: 16.84 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.007849, allocations: 158.5 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.007875, allocations: 4.375 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.007898, allocations: 384 / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.008089, allocations: 62.94 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.008105, allocations: 192 / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.008116, allocations: 384 / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.008127, allocations: 3.938 kB / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.541e-05/0.008173, allocations: 11.98 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.008593, allocations: 268.3 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.008745, allocations: 47.16 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.00878, allocations: 19.69 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.0088, allocations: 3.984 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.008952, allocations: 65.03 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.008954, allocations: 0 / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004611/0.009415, allocations: 141.6 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.009447, allocations: 55.34 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.009582, allocations: 230.8 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.009598, allocations: 33.7 kB / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.009647, allocations: 146.9 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.009683, allocations: 27.77 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.009729, allocations: 27.38 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.768e-05/0.009807, allocations: 0.504 MB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.86e-05/0.009835, allocations: 8.188 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.539e-05/0.009871, allocations: 35.34 kB / 385.7 MB, free: 16.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.567e-05/0.009937, allocations: 47.38 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.009938, allocations: 7.938 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001393/0.01008, allocations: 93.5 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.0101, allocations: 8 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.0101, allocations: 0 / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.01012, allocations: 0 / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.01021, allocations: 15.94 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.01021, allocations: 0 / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.01026, allocations: 7.984 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.01027, allocations: 4 kB / 385.9 MB, free: 16.58 MB / 314.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.681e-05/0.01035, allocations: 158.4 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.01038, allocations: 23.84 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.01056, allocations: 103.1 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01057, allocations: 4 kB / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.01057, allocations: 0 / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01057, allocations: 0 / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.01091, allocations: 353.6 kB / 386.5 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.01092, allocations: 0 / 386.5 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.01096, allocations: 15.98 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01096, allocations: 0 / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.01097, allocations: 4.031 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.01098, allocations: 4 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.01098, allocations: 0 / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.01117, allocations: 255.7 kB / 386.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.01119, allocations: 7.953 kB / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.01121, allocations: 11.98 kB / 386.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.01128, allocations: 0 / 386.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.01131, allocations: 11.92 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.01133, allocations: 4 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.852e-05/0.01139, allocations: 163.1 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01139, allocations: 0 / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002664/0.01166, allocations: 31.94 kB / 387 MB, free: 15.38 MB / 314.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.001282/0.01294, allocations: 440.9 kB / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.01309, allocations: 47.59 kB / 387.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.0131, allocations: 0 / 387.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.698e-05/0.01314, allocations: 31.61 kB / 387.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.01342, allocations: 35.91 kB / 387.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.01377, allocations: 220 kB / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.174e-05/0.0138, allocations: 71.2 kB / 387.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.798e-05/0.01384, allocations: 13.28 kB / 387.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/0.0139, allocations: 94.19 kB / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.0139, allocations: 0 / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of Templates: time 0.003813/0.01772, allocations: 2.07 MB / 390 MB, free: 12.51 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.2748114289715886]