Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 210.4 kB / 18.58 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.571/1.571, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2657/0.2657, allocations: 46.11 MB / 344.2 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002353, allocations: 81.81 kB / 417.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1898, allocations: 62.44 MB / 480.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.005988/0.1959, allocations: 1.75 MB / 481.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003019/0.1989, allocations: 1.025 MB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.1991, allocations: 0 / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.1995, allocations: 91.67 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005613/0.2002, allocations: 123.5 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.2005, allocations: 83.66 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.2008, allocations: 111.7 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.201, allocations: 15.98 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.2012, allocations: 63.7 kB / 483.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.2013, allocations: 63.81 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.2014, allocations: 4 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.2016, allocations: 63.92 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.426e-05/0.2017, allocations: 27.89 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.2018, allocations: 39.69 kB / 483.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.2022, allocations: 139.8 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2022, allocations: 0 / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2022, allocations: 0 / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.2022, allocations: 4 kB / 483.7 MB, free: 1.633 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.0009888/0.2032, allocations: 446.7 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.2033, allocations: 8.031 kB / 484.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.264e-05/0.2034, allocations: 12.84 kB / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.2038, allocations: 225.5 kB / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.2038, allocations: 4.375 kB / 484.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.2039, allocations: 8.125 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.2041, allocations: 57.67 kB / 484.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.2042, allocations: 7.984 kB / 484.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.2042, allocations: 4 kB / 484.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2042, allocations: 0 / 484.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.2044, allocations: 27.95 kB / 484.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.205, allocations: 304.7 kB / 484.8 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.2053, allocations: 62.55 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.163e-05/0.2054, allocations: 20.98 kB / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.2055, allocations: 4 kB / 484.9 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000307/0.2058, allocations: 71.31 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.2058, allocations: 0 / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001124/0.207, allocations: 253.5 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.207, allocations: 59.34 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.2074, allocations: 242 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.2075, allocations: 29.69 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.2076, allocations: 104.1 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.109e-05/0.2077, allocations: 35.55 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/0.2078, allocations: 29.7 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.208, allocations: 322.8 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.2081, allocations: 35.98 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.2083, allocations: 45.7 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.2085, allocations: 85.69 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2085, allocations: 0 / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003711/0.2089, allocations: 129.4 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.209, allocations: 10.5 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.209, allocations: 0 / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.209, allocations: 0 / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.2092, allocations: 28.02 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.2092, allocations: 3.938 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.689e-05/0.2093, allocations: 4 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.2093, allocations: 4 kB / 486.3 MB, free: 14.77 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 (13): * Single equations (assignments): 13 * 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.0001834/0.2095, allocations: 129.8 kB / 486.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.2096, allocations: 15.81 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.025e-05/0.2096, allocations: 25.34 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.2096, allocations: 3.984 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.2097, allocations: 7.938 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2097, allocations: 7.938 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008775/0.2106, allocations: 448 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.2106, allocations: 4 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.892e-05/0.2107, allocations: 19.94 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2107, allocations: 0 / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.2107, allocations: 0 / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.2108, allocations: 8.062 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.2108, allocations: 3.984 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.2112, allocations: 229 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.327e-05/0.2113, allocations: 88.92 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.2114, allocations: 8 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.2116, allocations: 11.98 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.2116, allocations: 4 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.2117, allocations: 11.98 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002472/0.2119, allocations: 168.4 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2119, allocations: 0 / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004731/0.2124, allocations: 31.98 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002642/0.2151, allocations: 0.4998 MB / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003472/0.2154, allocations: 83.84 kB / 488.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2155, allocations: 4 kB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.2156, allocations: 39.92 kB / 488.2 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/0.2162, allocations: 43.06 kB / 488.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000991/0.2173, allocations: 280.8 kB / 488.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.2178, allocations: 0.7311 MB / 489.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.218, allocations: 20.62 kB / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.218, allocations: 19.42 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2181, allocations: 0 / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of Templates: time 0.008763/0.2268, allocations: 1.996 MB / 491.2 MB, free: 9.883 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches