Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001896/0.001896, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002561/0.002561, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.55/2.55, allocations: 227.4 MB / 246.9 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.398/0.398, allocations: 46.1 MB / 344.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002721/0.002721, allocations: 83.84 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.19, allocations: 62.45 MB / 479.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.006933/0.197, allocations: 1.781 MB / 481.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.2001, allocations: 1.021 MB / 482.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.2003, allocations: 0 / 482.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.2007, allocations: 27.91 kB / 482.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004962/0.2013, allocations: 87.67 kB / 482.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.2017, allocations: 59.89 kB / 482.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.202, allocations: 99.67 kB / 483 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.2022, allocations: 8 kB / 483 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.2024, allocations: 39.73 kB / 483.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.2025, allocations: 43.77 kB / 483.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.2026, allocations: 0 / 483.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.2028, allocations: 47.98 kB / 483.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.538e-05/0.2029, allocations: 11.92 kB / 483.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.379e-05/0.203, allocations: 31.8 kB / 483.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.2032, allocations: 84.05 kB / 483.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.2033, allocations: 4 kB / 483.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2033, allocations: 4 kB / 483.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.2033, allocations: 0 / 483.3 MB, free: 2.367 MB / 350.1 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.0008509/0.2042, allocations: 399.1 kB / 483.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.2042, allocations: 8.875 kB / 483.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.267e-05/0.2043, allocations: 12.84 kB / 483.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.2048, allocations: 212.1 kB / 483.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.2048, allocations: 384 / 483.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.2049, allocations: 8.125 kB / 483.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.2051, allocations: 57.61 kB / 484 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.2052, allocations: 0 / 484 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.2052, allocations: 3.984 kB / 484 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.2052, allocations: 0 / 484 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.2054, allocations: 19.98 kB / 484 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006722/0.206, allocations: 292.7 kB / 484.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.2063, allocations: 58.62 kB / 484.3 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.2065, allocations: 20.84 kB / 484.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.2065, allocations: 3.984 kB / 484.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003486/0.2069, allocations: 75.39 kB / 484.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.304e-06/0.2069, allocations: 0 / 484.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009182/0.2078, allocations: 173.2 kB / 484.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.2079, allocations: 55.41 kB / 484.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.2082, allocations: 170.2 kB / 484.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.2082, allocations: 25.7 kB / 484.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.103e-05/0.2083, allocations: 100.1 kB / 484.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/0.2084, allocations: 35.53 kB / 485 MB, free: 480 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.2086, allocations: 25.7 kB / 485 MB, free: 448 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.2087, allocations: 322.8 kB / 485.3 MB, free: 116 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.577e-05/0.2089, allocations: 20 kB / 485.3 MB, free: 96 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.209, allocations: 41.64 kB / 485.4 MB, free: 48 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.2094, allocations: 57.78 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2094, allocations: 4 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003259/0.2097, allocations: 97.52 kB / 485.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.2098, allocations: 8 kB / 485.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.2098, allocations: 0 / 485.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2098, allocations: 0 / 485.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.21, allocations: 12 kB / 485.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.21, allocations: 4 kB / 485.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.54e-05/0.2101, allocations: 11.92 kB / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.2101, allocations: 4 kB / 485.6 MB, free: 15.84 MB / 366.1 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 0.001132/0.2113, allocations: 125.8 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.2113, allocations: 7.906 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.965e-05/0.2114, allocations: 16.7 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2114, allocations: 0 / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2114, allocations: 0 / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.2114, allocations: 7.938 kB / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007092/0.2122, allocations: 391.2 kB / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2122, allocations: 4.031 kB / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.2123, allocations: 11.98 kB / 486.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.2123, allocations: 0 / 486.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.2123, allocations: 7.938 kB / 486.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.2123, allocations: 0 / 486.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2123, allocations: 0 / 486.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.2127, allocations: 204.5 kB / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.2128, allocations: 89.02 kB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.2129, allocations: 12.25 kB / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.213, allocations: 7.984 kB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.2131, allocations: 8 kB / 486.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.2131, allocations: 0 / 486.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002743/0.2134, allocations: 135.2 kB / 486.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.895e-06/0.2134, allocations: 0 / 486.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005078/0.2139, allocations: 24.12 kB / 486.6 MB, free: 14.7 MB / 366.1 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 (8): * Single equations (assignments): 6 * 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.001894/0.2158, allocations: 452.7 kB / 487.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002925/0.2161, allocations: 59.91 kB / 487.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2162, allocations: 0 / 487.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.2163, allocations: 32.05 kB / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006018/0.2169, allocations: 23.98 kB / 487.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008015/0.2177, allocations: 270.5 kB / 487.4 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.2183, allocations: 0.7004 MB / 488.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.2184, allocations: 23.42 kB / 488.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2184, allocations: 0 / 488.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of Templates: time 0.006637/0.225, allocations: 1.886 MB / 490 MB, free: 11.36 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches