Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008948/0.0008948, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.18 MB / 345.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003043, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 63.56 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002253/0.1295, allocations: 1.446 MB / 484.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1313, allocations: 0.9929 MB / 485.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.508e-05/0.1314, allocations: 3.938 kB / 485.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.1317, allocations: 43.83 kB / 485.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.132, allocations: 71.75 kB / 485.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.1323, allocations: 67.81 kB / 485.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.1325, allocations: 95.69 kB / 485.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1326, allocations: 19.97 kB / 485.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.668e-05/0.1327, allocations: 39.8 kB / 485.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.84e-05/0.1328, allocations: 31.78 kB / 485.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1328, allocations: 0 / 485.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1329, allocations: 43.92 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.133, allocations: 19.92 kB / 486 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.1331, allocations: 65.42 kB / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.1334, allocations: 111.9 kB / 486.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1334, allocations: 8 kB / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1334, allocations: 0 / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1334, allocations: 0 / 486.1 MB, free: 1.102 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.0005695/0.134, allocations: 395.1 kB / 486.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1341, allocations: 8.875 kB / 486.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.1341, allocations: 12.84 kB / 486.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1344, allocations: 208.7 kB / 486.7 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1344, allocations: 4.375 kB / 486.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1345, allocations: 12.06 kB / 486.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1346, allocations: 57.67 kB / 486.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1346, allocations: 0 / 486.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1347, allocations: 0 / 486.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.1347, allocations: 3.984 kB / 486.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.816e-05/0.1348, allocations: 16 kB / 486.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.1353, allocations: 296.7 kB / 487.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.1355, allocations: 58.69 kB / 487.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.818e-05/0.1355, allocations: 20.84 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1356, allocations: 0 / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.1358, allocations: 71.33 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.1358, allocations: 0 / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000598/0.1364, allocations: 181.3 kB / 487.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.1365, allocations: 55.34 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.1367, allocations: 190.9 kB / 487.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1367, allocations: 29.7 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.1368, allocations: 104.1 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.1368, allocations: 19.72 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.1369, allocations: 17.7 kB / 487.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.137, allocations: 330.8 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.174e-05/0.1371, allocations: 20 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.176e-05/0.1371, allocations: 37.64 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.1373, allocations: 69.69 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1373, allocations: 4 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001892/0.1375, allocations: 93.5 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1375, allocations: 7.984 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.1375, allocations: 8.031 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1375, allocations: 0 / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-05/0.1376, allocations: 19.94 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1377, allocations: 0 / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.1377, allocations: 11.92 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1377, allocations: 4 kB / 488.5 MB, free: 14.55 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.0001162/0.1379, allocations: 121.8 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.1379, allocations: 7.906 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.1379, allocations: 21.39 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.138, allocations: 4 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.138, allocations: 3.938 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.138, allocations: 3.938 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.1385, allocations: 395.2 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1385, allocations: 0 / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.1386, allocations: 11.98 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1386, allocations: 0 / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1386, allocations: 11.92 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1386, allocations: 4.031 kB / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1386, allocations: 3.938 kB / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.1388, allocations: 196.3 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.1389, allocations: 92.91 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.139, allocations: 11.94 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-05/0.139, allocations: 0 / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.1391, allocations: 11.98 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.1391, allocations: 4 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.1392, allocations: 152.7 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1392, allocations: 0 / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.1395, allocations: 20 kB / 489.5 MB, free: 13.38 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.001204/0.1407, allocations: 474.4 kB / 490 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.141, allocations: 59.94 kB / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.141, allocations: 4 kB / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.066e-05/0.1411, allocations: 31.92 kB / 490.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.1414, allocations: 22.98 kB / 490.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.142, allocations: 254.3 kB / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.1424, allocations: 0.7121 MB / 491 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.346e-05/0.1424, allocations: 8.891 kB / 491.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.1425, allocations: 23.36 kB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1425, allocations: 0 / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of Templates: time 0.004685/0.1472, allocations: 1.639 MB / 492.7 MB, free: 10.29 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches