Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001908/0.001908, 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.002316/0.002316, 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.326/2.326, allocations: 227.3 MB / 246.9 MB, free: 8.891 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2472/0.2472, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 72.8 kB / 417.5 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1892, allocations: 62.46 MB / 480 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.005068/0.1943, allocations: 1.985 MB / 481.9 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.1967, allocations: 1.052 MB / 483 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.1969, allocations: 4 kB / 483 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.1973, allocations: 39.78 kB / 483 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.1977, allocations: 75.73 kB / 483.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.198, allocations: 83.8 kB / 483.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.1983, allocations: 143.5 kB / 483.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.1985, allocations: 21.56 kB / 483.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1986, allocations: 59.64 kB / 483.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1987, allocations: 47.72 kB / 483.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.1988, allocations: 4 kB / 483.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.1989, allocations: 51.97 kB / 483.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.199, allocations: 19.92 kB / 483.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.1991, allocations: 51.61 kB / 483.6 MB, free: 2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.1994, allocations: 104.1 kB / 483.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1994, allocations: 4 kB / 483.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.197e-06/0.1994, allocations: 0 / 483.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1994, allocations: 3.938 kB / 483.7 MB, free: 1.891 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.0009497/0.2004, allocations: 480.5 kB / 484.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.2005, allocations: 8.875 kB / 484.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/0.2006, allocations: 20.75 kB / 484.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.2009, allocations: 232.7 kB / 484.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.201, allocations: 8.375 kB / 484.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.201, allocations: 12.06 kB / 484.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.2014, allocations: 108.2 kB / 484.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.2014, allocations: 0 / 484.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.2015, allocations: 0 / 484.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.2015, allocations: 8 kB / 484.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.2017, allocations: 47.91 kB / 484.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008307/0.2026, allocations: 0.5087 MB / 485.1 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.203, allocations: 90.59 kB / 485.2 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.2032, allocations: 36.83 kB / 485.2 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.2032, allocations: 4 kB / 485.2 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003734/0.2036, allocations: 95.3 kB / 485.3 MB, free: 64 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.304e-06/0.2036, allocations: 0 / 485.3 MB, free: 64 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006358/0.2043, allocations: 145.7 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.2044, allocations: 55.34 kB / 485.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.2046, allocations: 199.2 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.2047, allocations: 29.64 kB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.2048, allocations: 120 kB / 485.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.2049, allocations: 31.56 kB / 485.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.516e-05/0.205, allocations: 29.83 kB / 485.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2051, allocations: 326.8 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2053, allocations: 27.98 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.2054, allocations: 64.27 kB / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.2057, allocations: 100.2 kB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2058, allocations: 0 / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004159/0.2062, allocations: 141.4 kB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.2062, allocations: 7.984 kB / 486.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.2062, allocations: 4 kB / 486.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2063, allocations: 0 / 486.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.2064, allocations: 27.92 kB / 486.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2065, allocations: 0 / 486.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.2066, allocations: 15.94 kB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.2066, allocations: 4 kB / 486.6 MB, free: 14.67 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.0001532/0.2068, allocations: 133.8 kB / 486.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.2068, allocations: 15.81 kB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.037e-05/0.2069, allocations: 17.34 kB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2069, allocations: 3.938 kB / 486.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2069, allocations: 0 / 486.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.207, allocations: 0 / 486.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.2073, allocations: 217.5 kB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2073, allocations: 4 kB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.2074, allocations: 8 kB / 487 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2074, allocations: 96 / 487 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.2074, allocations: 7.938 kB / 487 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.2075, allocations: 15.92 kB / 487 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2075, allocations: 0 / 487 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/0.208, allocations: 172.9 kB / 487.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/0.2081, allocations: 92.89 kB / 487.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.2082, allocations: 0 / 487.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.2083, allocations: 15.98 kB / 487.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.2084, allocations: 15.92 kB / 487.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.2084, allocations: 4 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.2086, allocations: 144.4 kB / 487.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2087, allocations: 0 / 487.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004502/0.2091, allocations: 24 kB / 487.5 MB, free: 13.7 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.001669/0.2108, allocations: 400.3 kB / 487.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000367/0.2112, allocations: 83.89 kB / 488 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2112, allocations: 0 / 488 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.2114, allocations: 43.91 kB / 488 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.2119, allocations: 35.59 kB / 488.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008244/0.2127, allocations: 327.4 kB / 488.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.2131, allocations: 0.7165 MB / 489.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.494e-05/0.2132, allocations: 19.42 kB / 489.1 MB, free: 12.17 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.2132, allocations: 0 / 489.1 MB, free: 12.17 MB / 366.1 MB Notification: Performance of Templates: time 0.00627/0.2195, allocations: 2.204 MB / 491.3 MB, free: 9.969 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches