Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001629/0.001628, allocations: 112.5 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002085/0.002085, allocations: 209.7 kB / 18.79 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.27/2.27, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3972/0.3972, allocations: 46.12 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 77.19 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1837, allocations: 62.44 MB / 479.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.005366/0.1891, allocations: 1.882 MB / 481.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003549/0.1927, allocations: 1.678 MB / 483.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.1929, allocations: 3.938 kB / 483.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.1933, allocations: 43.83 kB / 483.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000462/0.1939, allocations: 111.6 kB / 483.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.1942, allocations: 91.78 kB / 483.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00035/0.1945, allocations: 195.4 kB / 483.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.8e-05/0.1946, allocations: 17.67 kB / 484 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.1948, allocations: 79.56 kB / 484 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.1951, allocations: 75.62 kB / 484.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.1952, allocations: 8 kB / 484.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.1954, allocations: 107.9 kB / 484.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.121e-05/0.1956, allocations: 31.83 kB / 484.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.1957, allocations: 55.61 kB / 484.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.196, allocations: 167.9 kB / 484.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.1961, allocations: 4 kB / 484.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1961, allocations: 7.938 kB / 484.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1961, allocations: 0 / 484.5 MB, free: 1.145 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001145/0.1972, allocations: 482.7 kB / 484.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.1973, allocations: 12.88 kB / 485 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.758e-05/0.1974, allocations: 24.64 kB / 485 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.1979, allocations: 256.9 kB / 485.2 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.198, allocations: 384 / 485.2 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.198, allocations: 8.125 kB / 485.2 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.1983, allocations: 109 kB / 485.4 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1983, allocations: 0 / 485.4 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.1984, allocations: 0 / 485.4 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1984, allocations: 0 / 485.4 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.1985, allocations: 35.91 kB / 485.4 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.1989, allocations: 222.6 kB / 485.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.1993, allocations: 101.2 kB / 485.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.1995, allocations: 45.58 kB / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.1996, allocations: 8 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003865/0.2, allocations: 109 kB / 485.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.2, allocations: 0 / 485.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006497/0.2006, allocations: 161.8 kB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.2008, allocations: 136.5 kB / 486.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/0.2012, allocations: 233.6 kB / 486.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.2012, allocations: 33.7 kB / 486.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.2014, allocations: 112.1 kB / 486.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.792e-05/0.2015, allocations: 39.56 kB / 486.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/0.2015, allocations: 25.72 kB / 486.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.2017, allocations: 330.8 kB / 486.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.2018, allocations: 27.98 kB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.202, allocations: 73.2 kB / 487 MB, free: 14.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.2023, allocations: 91.34 kB / 487.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2023, allocations: 0 / 487.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004054/0.2027, allocations: 141.3 kB / 487.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.2027, allocations: 8 kB / 487.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2028, allocations: 3.984 kB / 487.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2028, allocations: 0 / 487.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.203, allocations: 31.92 kB / 487.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.203, allocations: 0 / 487.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.2031, allocations: 7.984 kB / 487.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.2031, allocations: 4 kB / 487.3 MB, free: 14.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001819/0.2033, allocations: 142.3 kB / 487.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.2034, allocations: 23.7 kB / 487.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.552e-05/0.2035, allocations: 21 kB / 487.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2035, allocations: 0 / 487.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2035, allocations: 4 kB / 487.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.2035, allocations: 3.984 kB / 487.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.2038, allocations: 221.5 kB / 487.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2038, allocations: 128 / 487.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.816e-05/0.2039, allocations: 15.94 kB / 487.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2039, allocations: 0 / 487.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.2039, allocations: 12 kB / 487.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.2039, allocations: 3.984 kB / 487.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2039, allocations: 0 / 487.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004569/0.2044, allocations: 173.6 kB / 487.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.916e-05/0.2045, allocations: 92.92 kB / 488 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.2046, allocations: 7.984 kB / 488 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2047, allocations: 4 kB / 488 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.2047, allocations: 15.98 kB / 488 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.2048, allocations: 4 kB / 488 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002788/0.2051, allocations: 176.5 kB / 488.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2051, allocations: 0 / 488.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004975/0.2056, allocations: 55.98 kB / 488.2 MB, free: 12.96 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001883/0.2075, allocations: 493.9 kB / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003644/0.2079, allocations: 83.91 kB / 488.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2079, allocations: 4.062 kB / 488.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.208, allocations: 39.97 kB / 488.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006084/0.2087, allocations: 55.33 kB / 488.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009178/0.2096, allocations: 351.1 kB / 489.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.2101, allocations: 0.7245 MB / 490 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.2103, allocations: 23.42 kB / 490 MB, free: 11.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2103, allocations: 0 / 490 MB, free: 11.3 MB / 366.1 MB Notification: Performance of Templates: time 0.00832/0.2186, allocations: 3.169 MB / 493.2 MB, free: 8.156 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches