Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 247.5 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2283/0.2283, allocations: 46.11 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002272, allocations: 82.8 kB / 418.3 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1274, allocations: 62.46 MB / 480.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.00341/0.1309, allocations: 1.676 MB / 482.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1327, allocations: 1.009 MB / 483.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.314e-05/0.1328, allocations: 4 kB / 483.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.1331, allocations: 47.75 kB / 483.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.1335, allocations: 107.6 kB / 483.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.1337, allocations: 67.69 kB / 483.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1339, allocations: 95.7 kB / 483.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.928e-05/0.134, allocations: 16.2 kB / 483.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.134, allocations: 43.78 kB / 483.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.061e-05/0.1341, allocations: 23.86 kB / 483.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1342, allocations: 4 kB / 483.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-05/0.1343, allocations: 35.97 kB / 483.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.1343, allocations: 35.86 kB / 483.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.155e-05/0.1344, allocations: 39.62 kB / 484 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.1346, allocations: 119.8 kB / 484.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1346, allocations: 0 / 484.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1347, allocations: 0 / 484.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1347, allocations: 0 / 484.1 MB, free: 1.879 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006282/0.1353, allocations: 430.8 kB / 484.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1353, allocations: 11.97 kB / 484.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.1354, allocations: 16.75 kB / 484.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.1357, allocations: 232.8 kB / 484.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1357, allocations: 4.375 kB / 484.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.1357, allocations: 4.125 kB / 484.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1359, allocations: 45.67 kB / 484.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1359, allocations: 0 / 484.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1359, allocations: 8 kB / 484.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.136, allocations: 0 / 484.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.453e-05/0.136, allocations: 11.98 kB / 484.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.1363, allocations: 185.7 kB / 485 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.1364, allocations: 66.55 kB / 485.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.1365, allocations: 24.78 kB / 485.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1365, allocations: 0 / 485.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.1368, allocations: 59.39 kB / 485.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.1368, allocations: 4 kB / 485.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003007/0.1371, allocations: 101.6 kB / 485.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.1371, allocations: 55.34 kB / 485.3 MB, free: 472 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.1374, allocations: 267 kB / 485.6 MB, free: 192 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.1375, allocations: 33.7 kB / 485.6 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.1376, allocations: 108.1 kB / 485.7 MB, free: 40 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.1376, allocations: 11.89 kB / 485.7 MB, free: 28 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.1376, allocations: 17.72 kB / 485.8 MB, free: 4 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1379, allocations: 330.8 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.415e-05/0.1379, allocations: 20.05 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-05/0.138, allocations: 29.7 kB / 486.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.1381, allocations: 45.64 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1381, allocations: 0 / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001649/0.1383, allocations: 85.44 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.1383, allocations: 16.02 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1383, allocations: 0 / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1383, allocations: 0 / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/0.1384, allocations: 15.94 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1384, allocations: 0 / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.1385, allocations: 11.84 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1385, allocations: 4 kB / 486.3 MB, free: 15.43 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 (7): * Single equations (assignments): 7 * 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.0001248/0.1386, allocations: 133.8 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.1387, allocations: 15.89 kB / 486.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.1387, allocations: 21 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.1387, allocations: 0 / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1387, allocations: 0 / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1388, allocations: 0 / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.139, allocations: 205.4 kB / 486.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.139, allocations: 3.984 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-05/0.139, allocations: 7.984 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.139, allocations: 0 / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.139, allocations: 4 kB / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.139, allocations: 0 / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.139, allocations: 0 / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.1392, allocations: 121 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.1393, allocations: 88.92 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.1393, allocations: 4 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.818e-05/0.1394, allocations: 0 / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.1394, allocations: 11.92 kB / 486.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.1395, allocations: 0 / 486.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.1397, allocations: 208.4 kB / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1397, allocations: 0 / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.1399, allocations: 23.98 kB / 487.1 MB, free: 14.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001491/0.1414, allocations: 385.2 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.1416, allocations: 55.92 kB / 487.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1416, allocations: 0 / 487.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.606e-05/0.1417, allocations: 19.98 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.142, allocations: 38.84 kB / 487.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.1426, allocations: 296.1 kB / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.1429, allocations: 0.7204 MB / 488.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.143, allocations: 15.42 kB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.143, allocations: 0 / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of Templates: time 0.004123/0.1471, allocations: 1.889 MB / 490.5 MB, free: 11.18 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches