Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001805/0.001805, 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.002229/0.002229, 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.153/2.153, allocations: 227.4 MB / 246.9 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2369/0.2369, allocations: 46.1 MB / 344.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 74.72 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1856, allocations: 62.45 MB / 479.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.005614/0.1913, allocations: 1.824 MB / 481.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002937/0.1942, allocations: 1.025 MB / 482.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.1944, allocations: 4 kB / 482.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000511/0.1949, allocations: 107.7 kB / 482.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005124/0.1955, allocations: 119.6 kB / 483 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.1959, allocations: 59.89 kB / 483.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.1962, allocations: 131.6 kB / 483.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1964, allocations: 21.41 kB / 483.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.1966, allocations: 59.75 kB / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.1968, allocations: 71.75 kB / 483.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.1968, allocations: 4 kB / 483.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.197, allocations: 55.97 kB / 483.4 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.275e-05/0.1971, allocations: 31.86 kB / 483.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.404e-05/0.1972, allocations: 51.59 kB / 483.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.1976, allocations: 116.1 kB / 483.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1976, allocations: 4 kB / 483.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1976, allocations: 0 / 483.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1976, allocations: 4 kB / 483.6 MB, free: 2.016 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008506/0.1985, allocations: 458.6 kB / 484.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.1985, allocations: 8.031 kB / 484.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.517e-05/0.1986, allocations: 16.75 kB / 484.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.199, allocations: 228.9 kB / 484.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.199, allocations: 8.375 kB / 484.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.1991, allocations: 8.125 kB / 484.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.1994, allocations: 73.66 kB / 484.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1994, allocations: 0 / 484.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.1994, allocations: 0 / 484.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1994, allocations: 4 kB / 484.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.1996, allocations: 31.97 kB / 484.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/0.2002, allocations: 344.5 kB / 484.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.2006, allocations: 78.55 kB / 484.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.2008, allocations: 28.84 kB / 484.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.2008, allocations: 4 kB / 484.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003104/0.2011, allocations: 75.33 kB / 485 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.2011, allocations: 0 / 485 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.00127/0.2024, allocations: 308.8 kB / 485.3 MB, free: 208 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.2025, allocations: 55.34 kB / 485.3 MB, free: 140 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.2029, allocations: 263.6 kB / 485.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.2029, allocations: 29.7 kB / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/0.203, allocations: 112.1 kB / 485.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.2031, allocations: 39.45 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.01e-05/0.2032, allocations: 37.7 kB / 485.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2034, allocations: 326.8 kB / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.2035, allocations: 39.98 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.2037, allocations: 60.08 kB / 486.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.2039, allocations: 93.7 kB / 486.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.204, allocations: 0 / 486.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004156/0.2044, allocations: 169.1 kB / 486.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.2044, allocations: 14.69 kB / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.2044, allocations: 0 / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.2045, allocations: 3.938 kB / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.2046, allocations: 35.92 kB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.2046, allocations: 0 / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.736e-05/0.2047, allocations: 4 kB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.2048, allocations: 4 kB / 486.5 MB, free: 14.89 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 (16): * Single equations (assignments): 16 * 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.0001691/0.2049, allocations: 137.8 kB / 486.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.066e-05/0.205, allocations: 19.8 kB / 486.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.726e-05/0.2051, allocations: 25.53 kB / 486.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.2051, allocations: 3.938 kB / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.2051, allocations: 0.8438 kB / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.2051, allocations: 12.08 kB / 486.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008913/0.206, allocations: 0.5038 MB / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.2061, allocations: 0 / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.402e-05/0.2062, allocations: 24.05 kB / 487.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.2062, allocations: 0 / 487.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.2062, allocations: 8 kB / 487.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/0.2062, allocations: 4 kB / 487.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.2062, allocations: 3.938 kB / 487.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.2067, allocations: 260.9 kB / 487.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/0.2068, allocations: 92.92 kB / 487.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.2069, allocations: 11.98 kB / 487.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.207, allocations: 4 kB / 487.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.2071, allocations: 7.984 kB / 487.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.2071, allocations: 15.94 kB / 487.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002594/0.2074, allocations: 189.5 kB / 487.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2074, allocations: 0 / 487.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005224/0.2079, allocations: 39.98 kB / 487.9 MB, free: 13.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.00206/0.21, allocations: 0.4981 MB / 488.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003952/0.2104, allocations: 111.8 kB / 488.5 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.2104, allocations: 0 / 488.5 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.2106, allocations: 51.92 kB / 488.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006389/0.2113, allocations: 27.98 kB / 488.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009859/0.2123, allocations: 396.4 kB / 488.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.2127, allocations: 0.732 MB / 489.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.176e-05/0.2128, allocations: 23.42 kB / 489.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2128, allocations: 0 / 489.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of Templates: time 0.007533/0.2204, allocations: 2.511 MB / 492.2 MB, free: 9.211 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches