Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009989/0.0009989, allocations: 97.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 203.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1999/0.1999, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003166, allocations: 12 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1227, allocations: 63.57 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002244/0.125, allocations: 1.454 MB / 484.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.1269, allocations: 0.9863 MB / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.1271, allocations: 0 / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.1274, allocations: 39.84 kB / 485.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.1278, allocations: 79.73 kB / 485.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.1282, allocations: 63.83 kB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.1285, allocations: 99.67 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1286, allocations: 12 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1287, allocations: 35.8 kB / 485.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.493e-05/0.1288, allocations: 35.78 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1288, allocations: 3.938 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.129, allocations: 43.97 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/0.1291, allocations: 15.92 kB / 486 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.898e-05/0.1292, allocations: 57.52 kB / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.1294, allocations: 111.9 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1294, allocations: 0 / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1294, allocations: 0 / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1294, allocations: 0 / 486.1 MB, free: 1.098 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.0006565/0.1301, allocations: 395.1 kB / 486.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1302, allocations: 8.875 kB / 486.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.709e-05/0.1302, allocations: 16.75 kB / 486.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.1305, allocations: 212 kB / 486.7 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.1306, allocations: 8.375 kB / 486.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.1306, allocations: 8.062 kB / 486.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.1308, allocations: 53.67 kB / 486.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1308, allocations: 4 kB / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1309, allocations: 3.984 kB / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1309, allocations: 0 / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.328e-05/0.1309, allocations: 19.98 kB / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.1314, allocations: 289 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.1316, allocations: 54.69 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.83e-05/0.1317, allocations: 20.84 kB / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1317, allocations: 0 / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.1319, allocations: 71.33 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1319, allocations: 4 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005955/0.1325, allocations: 173.6 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.1326, allocations: 55.34 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.1328, allocations: 180 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1328, allocations: 29.7 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.1329, allocations: 104 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.1329, allocations: 23.73 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.1329, allocations: 13.72 kB / 487.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1331, allocations: 330.8 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.909e-05/0.1332, allocations: 19.98 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.301e-05/0.1332, allocations: 37.7 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1334, allocations: 57.66 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1334, allocations: 3.984 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002075/0.1336, allocations: 101.5 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1336, allocations: 4 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1336, allocations: 4.062 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1337, allocations: 0 / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1338, allocations: 27.92 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1338, allocations: 0 / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.1338, allocations: 0 / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1339, allocations: 7.938 kB / 488.4 MB, free: 14.56 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.0001195/0.134, allocations: 125.8 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.134, allocations: 19.92 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/0.1341, allocations: 13.41 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1341, allocations: 0 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1341, allocations: 192 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1341, allocations: 0 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.1346, allocations: 411.2 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1346, allocations: 0 / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.1347, allocations: 8 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1347, allocations: 4.031 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1347, allocations: 7.938 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1347, allocations: 0 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1347, allocations: 3.938 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.135, allocations: 204.3 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.816e-05/0.1351, allocations: 88.92 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.1351, allocations: 7.938 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.1352, allocations: 11.98 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.1353, allocations: 4 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.1353, allocations: 4 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1354, allocations: 138.8 kB / 489.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1354, allocations: 3.938 kB / 489.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.1357, allocations: 28 kB / 489.5 MB, free: 13.39 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.001161/0.1369, allocations: 455.4 kB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.1371, allocations: 55.97 kB / 490 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1371, allocations: 0 / 490 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.942e-05/0.1372, allocations: 31.92 kB / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.1375, allocations: 24.11 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.1381, allocations: 254.3 kB / 490.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.1384, allocations: 0.7043 MB / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.467e-05/0.1385, allocations: 21.17 kB / 491 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.1385, allocations: 15.44 kB / 491 MB, free: 11.95 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1385, allocations: 0 / 491 MB, free: 11.95 MB / 366.1 MB Notification: Performance of Templates: time 0.004775/0.1433, allocations: 1.631 MB / 492.7 MB, free: 10.33 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches