Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00205/0.00205, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002573/0.002573, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.416/2.416, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4155/0.4155, allocations: 46.11 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003097/0.003096, allocations: 77.81 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.206, allocations: 62.45 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.004484/0.2105, allocations: 1.785 MB / 481.7 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.2128, allocations: 1.013 MB / 482.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.657e-05/0.2129, allocations: 0 / 482.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.2134, allocations: 43.83 kB / 482.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.2137, allocations: 79.67 kB / 482.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.214, allocations: 63.88 kB / 482.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.2143, allocations: 91.75 kB / 483 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.2144, allocations: 15.98 kB / 483 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.2145, allocations: 43.73 kB / 483.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.2147, allocations: 39.77 kB / 483.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.2147, allocations: 0 / 483.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.2148, allocations: 40 kB / 483.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.2149, allocations: 11.92 kB / 483.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.458e-05/0.215, allocations: 43.66 kB / 483.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.2152, allocations: 88.11 kB / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2152, allocations: 0 / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2153, allocations: 0 / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2153, allocations: 4 kB / 483.3 MB, free: 2.344 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.0007598/0.216, allocations: 407.1 kB / 483.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.2161, allocations: 12.88 kB / 483.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.856e-05/0.2162, allocations: 16.73 kB / 483.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.2165, allocations: 204 kB / 483.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2165, allocations: 4.359 kB / 483.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.2166, allocations: 12.12 kB / 483.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.2168, allocations: 53.61 kB / 484 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.2168, allocations: 4 kB / 484 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.2169, allocations: 4 kB / 484 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.2169, allocations: 0 / 484 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.217, allocations: 19.98 kB / 484 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.2175, allocations: 280.9 kB / 484.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.2178, allocations: 62.62 kB / 484.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.264e-05/0.2179, allocations: 20.84 kB / 484.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.2179, allocations: 4 kB / 484.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.2182, allocations: 63.39 kB / 484.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.2182, allocations: 0 / 484.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007814/0.219, allocations: 177.2 kB / 484.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.2191, allocations: 55.41 kB / 484.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.2194, allocations: 184 kB / 484.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.2194, allocations: 25.7 kB / 484.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.519e-05/0.2195, allocations: 104 kB / 485 MB, free: 472 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.2195, allocations: 19.75 kB / 485 MB, free: 452 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.2196, allocations: 29.66 kB / 485 MB, free: 416 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2197, allocations: 326.8 kB / 485.3 MB, free: 80 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.19e-05/0.2198, allocations: 23.98 kB / 485.4 MB, free: 56 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.818e-05/0.2199, allocations: 41.64 kB / 485.4 MB, free: 8 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.2201, allocations: 53.7 kB / 485.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2201, allocations: 4 kB / 485.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002775/0.2204, allocations: 105.4 kB / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.2205, allocations: 4 kB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.2205, allocations: 0 / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.2205, allocations: 4 kB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.2206, allocations: 20.02 kB / 485.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2207, allocations: 160 / 485.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.897e-05/0.2207, allocations: 7.938 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.2208, allocations: 7.984 kB / 485.6 MB, free: 15.79 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.000146/0.2209, allocations: 132.6 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.2209, allocations: 11.84 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.153e-05/0.221, allocations: 17.39 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.221, allocations: 0 / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.221, allocations: 4 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2211, allocations: 7.938 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005967/0.2217, allocations: 391.2 kB / 486.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2217, allocations: 0 / 486.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-05/0.2217, allocations: 11.98 kB / 486.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.2217, allocations: 0 / 486.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.2218, allocations: 11.92 kB / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2218, allocations: 0 / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2218, allocations: 4.031 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.2221, allocations: 200.2 kB / 486.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.809e-05/0.2222, allocations: 85.02 kB / 486.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.2222, allocations: 7.938 kB / 486.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.2224, allocations: 8.359 kB / 486.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.2224, allocations: 4 kB / 486.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.2224, allocations: 8 kB / 486.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.2226, allocations: 138.8 kB / 486.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2226, allocations: 0 / 486.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004224/0.2231, allocations: 28 kB / 486.7 MB, free: 14.64 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.001591/0.2247, allocations: 454.5 kB / 487.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.2249, allocations: 63.91 kB / 487.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2249, allocations: 0 / 487.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.225, allocations: 27.98 kB / 487.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.2256, allocations: 27.89 kB / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006761/0.2263, allocations: 282.7 kB / 487.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.2267, allocations: 0.7043 MB / 488.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.2267, allocations: 19.44 kB / 488.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2268, allocations: 0 / 488.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of Templates: time 0.005461/0.2322, allocations: 1.91 MB / 490.1 MB, free: 11.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches