Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00187/0.001871, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002436/0.002436, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.335/2.335, allocations: 227.4 MB / 246.9 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2476/0.2476, allocations: 46.1 MB / 344.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0027/0.0027, allocations: 79.94 kB / 417.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1882, allocations: 62.44 MB / 479.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.005127/0.1933, allocations: 1.989 MB / 481.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003217/0.1966, allocations: 1.056 MB / 483 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.1968, allocations: 7.938 kB / 483 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005527/0.1974, allocations: 39.83 kB / 483 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004661/0.1979, allocations: 79.67 kB / 483.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.1983, allocations: 75.88 kB / 483.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.1986, allocations: 147.5 kB / 483.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.1988, allocations: 29.53 kB / 483.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.1989, allocations: 47.73 kB / 483.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1991, allocations: 55.69 kB / 483.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.1991, allocations: 4 kB / 483.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1992, allocations: 47.94 kB / 483.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.539e-05/0.1993, allocations: 23.91 kB / 483.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.1995, allocations: 55.59 kB / 483.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.1997, allocations: 108.1 kB / 483.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1998, allocations: 0 / 483.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1998, allocations: 0 / 483.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1998, allocations: 0 / 483.7 MB, free: 1.992 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009838/0.2008, allocations: 476.5 kB / 484.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.2008, allocations: 12.81 kB / 484.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.214e-05/0.2009, allocations: 20.75 kB / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.2014, allocations: 240.7 kB / 484.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.2014, allocations: 384 / 484.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.2014, allocations: 12.12 kB / 484.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.2018, allocations: 108.2 kB / 484.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2018, allocations: 0 / 484.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.2019, allocations: 0 / 484.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2019, allocations: 8 kB / 484.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.2021, allocations: 43.97 kB / 484.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008892/0.203, allocations: 0.5126 MB / 485.1 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/0.2035, allocations: 90.59 kB / 485.2 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.2037, allocations: 36.83 kB / 485.2 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.2037, allocations: 4 kB / 485.2 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003902/0.2041, allocations: 87.36 kB / 485.3 MB, free: 176 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.234e-06/0.2042, allocations: 3.938 kB / 485.3 MB, free: 172 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006133/0.2048, allocations: 145.4 kB / 485.5 MB, free: 20 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.483e-05/0.2049, allocations: 55.34 kB / 485.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.2052, allocations: 203 kB / 485.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.2053, allocations: 25.7 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.2054, allocations: 116 kB / 485.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.2055, allocations: 31.56 kB / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.743e-05/0.2056, allocations: 29.83 kB / 485.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002497/0.2058, allocations: 330.8 kB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.206, allocations: 31.98 kB / 486.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.2062, allocations: 64.27 kB / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.2065, allocations: 96.2 kB / 486.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.2065, allocations: 0 / 486.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004363/0.2069, allocations: 141.4 kB / 486.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.207, allocations: 4 kB / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.207, allocations: 4 kB / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.207, allocations: 0 / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.2072, allocations: 32.33 kB / 486.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2072, allocations: 0 / 486.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.2074, allocations: 15.94 kB / 486.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.2074, allocations: 4 kB / 486.6 MB, free: 14.78 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001758/0.2076, allocations: 132.2 kB / 486.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.2076, allocations: 23.69 kB / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.789e-05/0.2077, allocations: 13.41 kB / 486.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.2077, allocations: 7.938 kB / 486.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.2078, allocations: 11.91 kB / 486.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2078, allocations: 0 / 486.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.2081, allocations: 213.5 kB / 487 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2081, allocations: 0 / 487 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.2082, allocations: 8 kB / 487 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/0.2082, allocations: 3.984 kB / 487 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.2083, allocations: 12 kB / 487 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.2083, allocations: 3.938 kB / 487 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2083, allocations: 0 / 487 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/0.2089, allocations: 172.9 kB / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.335e-05/0.209, allocations: 92.89 kB / 487.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.209, allocations: 3.984 kB / 487.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.2091, allocations: 16 kB / 487.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.2092, allocations: 7.984 kB / 487.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.2093, allocations: 4 kB / 487.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.2095, allocations: 144.4 kB / 487.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2095, allocations: 0 / 487.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004643/0.21, allocations: 24 kB / 487.5 MB, free: 13.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001734/0.2117, allocations: 408.1 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003836/0.2121, allocations: 87.83 kB / 488 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2121, allocations: 0 / 488 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.2123, allocations: 39.92 kB / 488 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.2128, allocations: 31.97 kB / 488.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008441/0.2137, allocations: 327.5 kB / 488.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.2141, allocations: 0.7165 MB / 489.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.639e-05/0.2142, allocations: 15.44 kB / 489.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.2142, allocations: 0 / 489.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of Templates: time 0.006709/0.2209, allocations: 2.186 MB / 491.3 MB, free: 10.09 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches