Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002288/0.002288, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.3 MB, free: 9.051 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002561/0.002561, allocations: 82.7 kB / 416.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.192, allocations: 62.43 MB / 479.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.004449/0.1965, allocations: 1.793 MB / 481.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00242/0.199, allocations: 1.013 MB / 482.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.084e-05/0.1991, allocations: 3.938 kB / 482.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.1994, allocations: 47.77 kB / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.1999, allocations: 83.72 kB / 482.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.2001, allocations: 55.89 kB / 482.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.2004, allocations: 107.7 kB / 482.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2005, allocations: 8 kB / 482.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.2006, allocations: 35.8 kB / 482.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.765e-05/0.2007, allocations: 43.77 kB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.2007, allocations: 0 / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.2009, allocations: 43.98 kB / 482.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.201, allocations: 23.86 kB / 482.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.261e-05/0.2011, allocations: 31.75 kB / 482.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.2013, allocations: 115.8 kB / 482.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2013, allocations: 3.984 kB / 482.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.2013, allocations: 4 kB / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.2013, allocations: 0 / 482.7 MB, free: 2.266 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006568/0.202, allocations: 423 kB / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.2021, allocations: 12.88 kB / 483.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.2021, allocations: 8.844 kB / 483.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.2025, allocations: 219.9 kB / 483.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.2025, allocations: 4.375 kB / 483.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.2025, allocations: 4.125 kB / 483.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.2027, allocations: 53.67 kB / 483.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2028, allocations: 0 / 483.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.2028, allocations: 0 / 483.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/0.2028, allocations: 8 kB / 483.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.2029, allocations: 19.98 kB / 483.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.2034, allocations: 288.9 kB / 483.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.2037, allocations: 62.61 kB / 483.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.389e-05/0.2038, allocations: 16.86 kB / 483.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.2039, allocations: 7.938 kB / 483.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.2041, allocations: 75.38 kB / 483.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.2041, allocations: 0 / 483.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007021/0.2049, allocations: 173.1 kB / 484 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.2049, allocations: 51.41 kB / 484.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.2052, allocations: 210.9 kB / 484.3 MB, free: 480 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.2052, allocations: 33.7 kB / 484.3 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.2053, allocations: 104.1 kB / 484.4 MB, free: 332 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.2054, allocations: 15.72 kB / 484.5 MB, free: 316 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/0.2054, allocations: 33.64 kB / 484.5 MB, free: 276 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.2056, allocations: 326.8 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-05/0.2057, allocations: 20 kB / 484.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.101e-05/0.2058, allocations: 37.64 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.206, allocations: 61.7 kB / 484.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.206, allocations: 0 / 484.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002771/0.2063, allocations: 109.4 kB / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2063, allocations: 8 kB / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.2063, allocations: 0 / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2063, allocations: 0 / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.2065, allocations: 12 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.2065, allocations: 7.938 kB / 485.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.2066, allocations: 11.95 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.2066, allocations: 4 kB / 485.1 MB, free: 15.66 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 (10): * Single equations (assignments): 10 * 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.0001321/0.2067, allocations: 125.8 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.2068, allocations: 11.91 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.622e-05/0.2068, allocations: 17.39 kB / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.2068, allocations: 4 kB / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2069, allocations: 0 / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.2069, allocations: 3.938 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006073/0.2075, allocations: 407.4 kB / 485.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2075, allocations: 0 / 485.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.093e-05/0.2076, allocations: 12 kB / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2076, allocations: 0 / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.2076, allocations: 7.938 kB / 485.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.2076, allocations: 384 / 485.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.231e-05/0.2076, allocations: 0 / 485.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.208, allocations: 208.2 kB / 485.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/0.2081, allocations: 92.92 kB / 485.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.2081, allocations: 7.938 kB / 485.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.2083, allocations: 4 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.2083, allocations: 7.984 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.593e-05/0.2084, allocations: 11.98 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.2086, allocations: 152.3 kB / 486.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2086, allocations: 4 kB / 486.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004949/0.2091, allocations: 20 kB / 486.1 MB, free: 14.47 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: 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 (8): * Single equations (assignments): 6 * 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.001721/0.2109, allocations: 457.9 kB / 486.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.2111, allocations: 63.92 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.2111, allocations: 0 / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.2113, allocations: 27.92 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006187/0.2119, allocations: 26.98 kB / 486.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006712/0.2126, allocations: 272.8 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.213, allocations: 0.7082 MB / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.786e-05/0.2131, allocations: 13.19 kB / 487.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.304e-05/0.2132, allocations: 27.36 kB / 487.7 MB, free: 13 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2132, allocations: 0 / 487.7 MB, free: 13 MB / 366.1 MB Notification: Performance of Templates: time 0.006283/0.2195, allocations: 1.659 MB / 489.4 MB, free: 11.35 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches