Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001677/0.001677, 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.001849/0.001849, 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 1.98/1.98, allocations: 227.4 MB / 246.9 MB, free: 9.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4622/0.4622, allocations: 46.1 MB / 344.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 83.23 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1897, allocations: 62.44 MB / 479.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.005798/0.1955, allocations: 1.777 MB / 481.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003363/0.1989, allocations: 1.021 MB / 482.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.1991, allocations: 3.938 kB / 482.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000508/0.1997, allocations: 39.84 kB / 482.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005391/0.2003, allocations: 79.73 kB / 482.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.2007, allocations: 67.81 kB / 482.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.201, allocations: 91.75 kB / 483 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.2012, allocations: 11.98 kB / 483 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.2014, allocations: 39.78 kB / 483.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.2015, allocations: 43.72 kB / 483.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.2016, allocations: 8 kB / 483.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.2017, allocations: 39.98 kB / 483.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.965e-05/0.2019, allocations: 19.91 kB / 483.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.314e-05/0.202, allocations: 31.75 kB / 483.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.2023, allocations: 92.09 kB / 483.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2023, allocations: 0 / 483.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2023, allocations: 0 / 483.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.2023, allocations: 0 / 483.3 MB, free: 2.32 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.0009266/0.2033, allocations: 418.8 kB / 483.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.29e-05/0.2034, allocations: 16.88 kB / 483.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.2035, allocations: 8.844 kB / 483.7 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.2039, allocations: 208.8 kB / 483.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.2039, allocations: 4.375 kB / 483.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.204, allocations: 8.125 kB / 484 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.2043, allocations: 53.67 kB / 484 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2043, allocations: 0 / 484 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.2043, allocations: 0 / 484 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2043, allocations: 0 / 484 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.2045, allocations: 23.92 kB / 484 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.2051, allocations: 296.8 kB / 484.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.2055, allocations: 50.69 kB / 484.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.2056, allocations: 24.84 kB / 484.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.2057, allocations: 0 / 484.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003508/0.206, allocations: 71.33 kB / 484.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.566e-06/0.2061, allocations: 0 / 484.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001018/0.2071, allocations: 181.2 kB / 484.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.2072, allocations: 51.41 kB / 484.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.2075, allocations: 190.9 kB / 484.9 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.2076, allocations: 29.7 kB / 484.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.2077, allocations: 108.1 kB / 485 MB, free: 420 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.487e-05/0.2078, allocations: 19.72 kB / 485 MB, free: 400 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-05/0.2079, allocations: 33.64 kB / 485.1 MB, free: 360 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.2081, allocations: 326.8 kB / 485.4 MB, free: 24 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.2082, allocations: 16 kB / 485.4 MB, free: 8 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.2084, allocations: 37.75 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.2087, allocations: 65.58 kB / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2087, allocations: 3.938 kB / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003868/0.2091, allocations: 105.5 kB / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.2092, allocations: 7.938 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.2092, allocations: 0 / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.2092, allocations: 0 / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.2094, allocations: 16 kB / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2094, allocations: 0 / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.676e-05/0.2095, allocations: 7.922 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.2096, allocations: 8.031 kB / 485.6 MB, free: 15.74 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.0001655/0.2097, allocations: 121.8 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.2098, allocations: 11.91 kB / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.309e-05/0.2099, allocations: 17.39 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2099, allocations: 0 / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2099, allocations: 4 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.21, allocations: 3.938 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008113/0.2108, allocations: 395.2 kB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2108, allocations: 4 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.597e-05/0.2109, allocations: 19.91 kB / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.2109, allocations: 0 / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.211, allocations: 7.938 kB / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.211, allocations: 0 / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.211, allocations: 4 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/0.2114, allocations: 196.3 kB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-05/0.2115, allocations: 92.91 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.2116, allocations: 7.938 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.2118, allocations: 384 / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.2118, allocations: 7.984 kB / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.2119, allocations: 8 kB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000233/0.2121, allocations: 156.7 kB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.2122, allocations: 0 / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005276/0.2127, allocations: 28 kB / 486.7 MB, free: 14.57 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.002119/0.2148, allocations: 461.4 kB / 487.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003628/0.2152, allocations: 63.89 kB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.2153, allocations: 4.062 kB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.2154, allocations: 24 kB / 487.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/0.2161, allocations: 23.97 kB / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000904/0.2171, allocations: 290.4 kB / 487.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.2175, allocations: 0.7082 MB / 488.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.2176, allocations: 19.44 kB / 488.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 1.493e-06/0.2177, allocations: 0 / 488.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of Templates: time 0.007233/0.2249, allocations: 1.936 MB / 490.2 MB, free: 11.16 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches