Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001695/0.001695, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001931/0.001931, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.304/2.304, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.354/0.354, allocations: 46.1 MB / 344.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 76.34 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1779, allocations: 62.43 MB / 479.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.009228/0.1872, allocations: 1.805 MB / 481.7 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002732/0.19, allocations: 1.029 MB / 482.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.1902, allocations: 0 / 482.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.1906, allocations: 43.84 kB / 482.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004484/0.1911, allocations: 79.72 kB / 482.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.1914, allocations: 63.88 kB / 483 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.1917, allocations: 127.6 kB / 483.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1918, allocations: 16 kB / 483.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.192, allocations: 47.78 kB / 483.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.1921, allocations: 47.77 kB / 483.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.1922, allocations: 4 kB / 483.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.1924, allocations: 55.97 kB / 483.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.23e-05/0.1925, allocations: 35.84 kB / 483.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.415e-05/0.1926, allocations: 39.67 kB / 483.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.1929, allocations: 112.1 kB / 483.4 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1929, allocations: 4 kB / 483.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1929, allocations: 0 / 483.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1929, allocations: 0 / 483.4 MB, free: 2.215 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008025/0.1937, allocations: 430.9 kB / 483.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.1938, allocations: 8.031 kB / 483.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.907e-05/0.1939, allocations: 16.75 kB / 483.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.1943, allocations: 224 kB / 484.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.1943, allocations: 4.375 kB / 484.1 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.1944, allocations: 12.12 kB / 484.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004336/0.1987, allocations: 69.66 kB / 484.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.1988, allocations: 7.922 kB / 484.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.1988, allocations: 4 kB / 484.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1988, allocations: 4 kB / 484.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.199, allocations: 51.89 kB / 484.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006248/0.1996, allocations: 316.6 kB / 484.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/0.2001, allocations: 90.53 kB / 484.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.2003, allocations: 36.88 kB / 484.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.2003, allocations: 3.938 kB / 484.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003627/0.2007, allocations: 79.38 kB / 484.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 3.096e-06/0.2007, allocations: 0 / 484.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001447/0.2022, allocations: 293 kB / 485.1 MB, free: 436 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.2022, allocations: 59.34 kB / 485.1 MB, free: 364 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.2026, allocations: 194.9 kB / 485.3 MB, free: 160 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.2026, allocations: 25.7 kB / 485.3 MB, free: 128 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.2027, allocations: 112.3 kB / 485.4 MB, free: 12 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.957e-05/0.2028, allocations: 43.39 kB / 485.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.603e-05/0.2029, allocations: 29.7 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2031, allocations: 331.7 kB / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.2033, allocations: 35.98 kB / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.2035, allocations: 60.92 kB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.2038, allocations: 101.4 kB / 486 MB, free: 15.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2038, allocations: 0 / 486 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004715/0.2043, allocations: 153.5 kB / 486.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.2044, allocations: 8.031 kB / 486.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2044, allocations: 3.938 kB / 486.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.2044, allocations: 4 kB / 486.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.2046, allocations: 27.92 kB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.2046, allocations: 3.938 kB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.537e-05/0.2047, allocations: 8 kB / 486.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.2047, allocations: 4 kB / 486.2 MB, free: 15.19 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 (15): * Single equations (assignments): 15 * 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.0001536/0.2049, allocations: 129.8 kB / 486.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.205, allocations: 11.91 kB / 486.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.094e-05/0.2051, allocations: 29.52 kB / 486.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2051, allocations: 0 / 486.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.2051, allocations: 3.938 kB / 486.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2051, allocations: 0 / 486.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009632/0.2061, allocations: 488.1 kB / 486.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2061, allocations: 4 kB / 486.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.2062, allocations: 20.05 kB / 486.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.2063, allocations: 4 kB / 486.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.2063, allocations: 7.938 kB / 486.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2063, allocations: 4 kB / 486.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2063, allocations: 3.984 kB / 486.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.2069, allocations: 261 kB / 487.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.954e-05/0.207, allocations: 85.02 kB / 487.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.207, allocations: 8 kB / 487.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.2072, allocations: 0 / 487.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.2073, allocations: 15.98 kB / 487.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.2073, allocations: 4 kB / 487.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002125/0.2075, allocations: 148.2 kB / 487.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.735e-06/0.2075, allocations: 0 / 487.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005379/0.2081, allocations: 43.83 kB / 487.5 MB, free: 13.83 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 (13): * Single equations (assignments): 11 * 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.002039/0.2102, allocations: 0.4905 MB / 488 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004521/0.2147, allocations: 99.89 kB / 488.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.2147, allocations: 0 / 488.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.215, allocations: 59.84 kB / 488.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007094/0.2157, allocations: 31.86 kB / 488.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009473/0.2167, allocations: 340.5 kB / 488.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.2171, allocations: 0.7165 MB / 489.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.375e-05/0.2172, allocations: 27.42 kB / 489.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2172, allocations: 4 kB / 489.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of Templates: time 0.007325/0.2246, allocations: 2.373 MB / 491.6 MB, free: 9.816 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches