Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001355, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.3 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.2233/0.2233, allocations: 46.11 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 76.81 kB / 416.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1296, allocations: 62.45 MB / 479.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00376/0.1334, allocations: 1.989 MB / 481.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.1352, allocations: 1.048 MB / 482.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.492e-05/0.1353, allocations: 4 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.1356, allocations: 39.78 kB / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.1359, allocations: 79.73 kB / 482.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1361, allocations: 75.81 kB / 482.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.1363, allocations: 139.5 kB / 482.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.1364, allocations: 33.53 kB / 482.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.463e-05/0.1365, allocations: 55.66 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.931e-05/0.1366, allocations: 51.7 kB / 482.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1367, allocations: 4 kB / 482.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-05/0.1368, allocations: 43.98 kB / 482.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.1368, allocations: 27.86 kB / 482.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.48e-05/0.1369, allocations: 51.61 kB / 482.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1371, allocations: 147.7 kB / 483.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1371, allocations: 4 kB / 483.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1371, allocations: 0 / 483.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1372, allocations: 0 / 483.1 MB, free: 1.91 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006681/0.1378, allocations: 476.5 kB / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1379, allocations: 12.88 kB / 483.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.1379, allocations: 20.69 kB / 483.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.1382, allocations: 232.7 kB / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1382, allocations: 8.375 kB / 483.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.1383, allocations: 12.12 kB / 483.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.1385, allocations: 106.6 kB / 483.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1385, allocations: 0 / 483.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.1385, allocations: 4 kB / 483.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1385, allocations: 0 / 483.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.1387, allocations: 55.91 kB / 484 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.1393, allocations: 0.5087 MB / 484.5 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.1396, allocations: 90.67 kB / 484.6 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1397, allocations: 40.83 kB / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1397, allocations: 0 / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.14, allocations: 87.31 kB / 484.7 MB, free: 92 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.14, allocations: 0 / 484.7 MB, free: 92 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000435/0.1405, allocations: 141.4 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1405, allocations: 59.34 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.1407, allocations: 194.2 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1407, allocations: 37.69 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.421e-05/0.1408, allocations: 116 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.1409, allocations: 31.94 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.1409, allocations: 29.7 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1411, allocations: 326.8 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.428e-05/0.1412, allocations: 27.98 kB / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.1413, allocations: 68.2 kB / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.1415, allocations: 100.1 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1415, allocations: 0 / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002835/0.1418, allocations: 137.3 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1418, allocations: 8 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1419, allocations: 3.984 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1419, allocations: 8.125 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.142, allocations: 23.92 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.142, allocations: 4 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.358e-05/0.1421, allocations: 7.938 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1421, allocations: 11.94 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001213/0.1422, allocations: 125.8 kB / 486.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.1423, allocations: 15.81 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/0.1423, allocations: 17.41 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1423, allocations: 7.938 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1423, allocations: 4 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.1424, allocations: 7.969 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.1425, allocations: 209.5 kB / 486.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1426, allocations: 0 / 486.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.521e-05/0.1426, allocations: 8 kB / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1426, allocations: 4 kB / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.1427, allocations: 3.984 kB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1427, allocations: 3.938 kB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1427, allocations: 0 / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.1431, allocations: 188.9 kB / 486.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.1431, allocations: 92.89 kB / 486.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.1432, allocations: 4 kB / 486.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.531e-05/0.1432, allocations: 11.92 kB / 486.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.1433, allocations: 3.984 kB / 486.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.1433, allocations: 12 kB / 486.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.1435, allocations: 144.5 kB / 486.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1435, allocations: 4 kB / 486.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000241/0.1437, allocations: 20 kB / 486.9 MB, free: 13.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001024/0.1448, allocations: 408.1 kB / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.145, allocations: 75.89 kB / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.145, allocations: 3.938 kB / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.1452, allocations: 40.23 kB / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.1455, allocations: 31.97 kB / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.1461, allocations: 293.9 kB / 487.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1464, allocations: 0.7165 MB / 488.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.109e-05/0.1465, allocations: 25.36 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.1465, allocations: 19.42 kB / 488.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1465, allocations: 3.938 kB / 488.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of Templates: time 0.004673/0.1512, allocations: 1.777 MB / 490.3 MB, free: 10.44 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches