Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001547/0.001547, allocations: 111 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.00168/0.00168, 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 1.556/1.556, allocations: 227.4 MB / 246.9 MB, free: 8.867 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2842/0.2842, allocations: 46.12 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0031/0.0031, allocations: 75.44 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1863, allocations: 62.45 MB / 480 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.005935/0.1923, allocations: 1.734 MB / 481.7 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00318/0.1955, allocations: 1.002 MB / 482.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1957, allocations: 0 / 482.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004748/0.1962, allocations: 59.86 kB / 482.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.1968, allocations: 87.67 kB / 482.8 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.1971, allocations: 63.86 kB / 482.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.1974, allocations: 95.7 kB / 483 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.898e-05/0.1975, allocations: 8.219 kB / 483 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.1977, allocations: 51.72 kB / 483 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.1979, allocations: 43.83 kB / 483.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.198, allocations: 3.938 kB / 483.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.1981, allocations: 35.92 kB / 483.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.197e-05/0.1982, allocations: 15.98 kB / 483.1 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.761e-05/0.1983, allocations: 31.73 kB / 483.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.1986, allocations: 88.09 kB / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.1986, allocations: 0 / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.589e-06/0.1987, allocations: 0 / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1987, allocations: 3.938 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008942/0.1996, allocations: 406.9 kB / 483.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.513e-05/0.1997, allocations: 8.875 kB / 483.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.383e-05/0.1998, allocations: 12.84 kB / 483.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.2002, allocations: 208.8 kB / 483.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.2002, allocations: 4.375 kB / 483.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.2003, allocations: 4.125 kB / 483.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.2005, allocations: 49.67 kB / 483.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.2005, allocations: 0 / 483.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.2006, allocations: 4 kB / 483.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.2006, allocations: 0 / 483.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.2007, allocations: 19.92 kB / 484 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.2011, allocations: 177.7 kB / 484.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.2014, allocations: 54.61 kB / 484.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.2016, allocations: 20.8 kB / 484.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.2016, allocations: 8 kB / 484.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003938/0.202, allocations: 67.31 kB / 484.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.876e-06/0.202, allocations: 0 / 484.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005277/0.2026, allocations: 97.48 kB / 484.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.2027, allocations: 55.41 kB / 484.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.203, allocations: 186.9 kB / 484.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.2031, allocations: 25.7 kB / 484.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.2032, allocations: 108.1 kB / 484.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.2033, allocations: 11.84 kB / 484.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.2034, allocations: 21.72 kB / 484.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.2036, allocations: 318.8 kB / 485.1 MB, free: 304 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.2037, allocations: 15.98 kB / 485.1 MB, free: 288 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.2038, allocations: 33.66 kB / 485.1 MB, free: 248 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.204, allocations: 45.7 kB / 485.2 MB, free: 196 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.204, allocations: 0 / 485.2 MB, free: 196 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003125/0.2044, allocations: 93.36 kB / 485.3 MB, free: 96 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.2044, allocations: 4 kB / 485.3 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2044, allocations: 0 / 485.3 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2045, allocations: 0 / 485.3 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.2046, allocations: 12.31 kB / 485.3 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2046, allocations: 3.938 kB / 485.3 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-05/0.2047, allocations: 12.03 kB / 485.3 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.2048, allocations: 0 / 485.3 MB, free: 64 kB / 350.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 (7): * Single equations (assignments): 7 * 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.0002023/0.205, allocations: 129.8 kB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.205, allocations: 15.81 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.821e-05/0.2051, allocations: 12.98 kB / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2051, allocations: 0 / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.2052, allocations: 0 / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2052, allocations: 3.938 kB / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.2054, allocations: 189.5 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2055, allocations: 0 / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.2055, allocations: 15.98 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2055, allocations: 0 / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.2055, allocations: 3.984 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.2056, allocations: 4 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2056, allocations: 0 / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.2059, allocations: 105 kB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.206, allocations: 81.02 kB / 485.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.2061, allocations: 8 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.2061, allocations: 4 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.2062, allocations: 7.984 kB / 485.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.2063, allocations: 0 / 485.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.2065, allocations: 152.7 kB / 486 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.711e-06/0.2065, allocations: 0 / 486 MB, free: 15.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004385/0.207, allocations: 27.88 kB / 486.1 MB, free: 15.22 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001902/0.2089, allocations: 413.6 kB / 486.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002825/0.2092, allocations: 39.98 kB / 486.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2092, allocations: 0 / 486.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.2094, allocations: 23.92 kB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.2099, allocations: 27.92 kB / 486.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007877/0.2107, allocations: 253.4 kB / 486.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.2112, allocations: 0.7043 MB / 487.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.2113, allocations: 19.38 kB / 487.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.2113, allocations: 0 / 487.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of Templates: time 0.007283/0.2186, allocations: 1.704 MB / 489.2 MB, free: 12.12 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches