Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008393/0.0008393, allocations: 97.98 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.001061/0.001061, 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.4/1.4, 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.2178/0.2178, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.000283, allocations: 8.375 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1209, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002616/0.1236, allocations: 1.442 MB / 484.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.1256, allocations: 0.9941 MB / 485.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.1257, allocations: 0 / 485.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004007/0.1261, allocations: 43.84 kB / 485.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.1265, allocations: 79.73 kB / 485.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.1268, allocations: 59.88 kB / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.1271, allocations: 107.6 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1272, allocations: 4 kB / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.1273, allocations: 39.78 kB / 485.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.812e-05/0.1274, allocations: 39.78 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1275, allocations: 0 / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1276, allocations: 43.98 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.1277, allocations: 27.84 kB / 486 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.279e-05/0.1278, allocations: 53.45 kB / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.128, allocations: 115.9 kB / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.128, allocations: 0 / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-05/0.128, allocations: 0 / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.128, allocations: 0 / 486.1 MB, free: 1.086 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.0005837/0.1286, allocations: 403.1 kB / 486.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.1287, allocations: 16.81 kB / 486.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.1287, allocations: 8.844 kB / 486.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.129, allocations: 208.8 kB / 486.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.129, allocations: 4.312 kB / 486.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.1291, allocations: 16.11 kB / 486.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.1292, allocations: 53.61 kB / 486.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1292, allocations: 0 / 486.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1293, allocations: 4 kB / 486.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1293, allocations: 0 / 486.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.808e-05/0.1294, allocations: 23.98 kB / 486.9 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.1298, allocations: 284.8 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.13, allocations: 62.61 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.13, allocations: 16.86 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.1301, allocations: 8 kB / 487.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.1303, allocations: 63.39 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1303, allocations: 0 / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005612/0.1308, allocations: 177.4 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.1309, allocations: 55.41 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1311, allocations: 190.9 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1311, allocations: 29.7 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.1312, allocations: 108.1 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.449e-05/0.1312, allocations: 27.69 kB / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.1313, allocations: 13.72 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1314, allocations: 326.8 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/0.1315, allocations: 27.92 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.721e-05/0.1316, allocations: 33.7 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1317, allocations: 61.72 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1317, allocations: 0 / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002124/0.1319, allocations: 101.4 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1319, allocations: 10.19 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.132, allocations: 0 / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.132, allocations: 0 / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1321, allocations: 15.98 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.1321, allocations: 4 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.1322, allocations: 3.969 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1322, allocations: 12 kB / 488.5 MB, free: 14.53 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.0001118/0.1323, allocations: 126 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.1323, allocations: 11.91 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.1324, allocations: 17.34 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1324, allocations: 0 / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.1324, allocations: 0 / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1324, allocations: 7.875 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.1329, allocations: 403.4 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.1329, allocations: 0 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.1329, allocations: 12 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1329, allocations: 4 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1329, allocations: 3.938 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1329, allocations: 80 / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1329, allocations: 3.984 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.1332, allocations: 216.2 kB / 489.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.1333, allocations: 84.92 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1333, allocations: 7.938 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.1334, allocations: 7.984 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.1334, allocations: 4 kB / 489.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1334, allocations: 4 kB / 489.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.1336, allocations: 152.7 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1336, allocations: 0 / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1338, allocations: 31.98 kB / 489.5 MB, free: 13.35 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.001111/0.135, allocations: 455.5 kB / 490 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.1352, allocations: 63.92 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1352, allocations: 0 / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.1353, allocations: 27.92 kB / 490.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.1356, allocations: 27.98 kB / 490.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.1362, allocations: 258.3 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.1365, allocations: 0.7043 MB / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.395e-05/0.1366, allocations: 17.17 kB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.1367, allocations: 19.44 kB / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1367, allocations: 4 kB / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of Templates: time 0.004475/0.1412, allocations: 1.63 MB / 492.7 MB, free: 10.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches