Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 103.5 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.1 MB / 343.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 81.34 kB / 416.9 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1324, allocations: 62.45 MB / 479.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003412/0.1359, allocations: 1.785 MB / 481.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1375, allocations: 1.01 MB / 482.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.458e-05/0.1376, allocations: 3.938 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.138, allocations: 35.89 kB / 482.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.1383, allocations: 79.73 kB / 482.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.1385, allocations: 63.81 kB / 482.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1386, allocations: 95.7 kB / 482.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1387, allocations: 15.98 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.1388, allocations: 39.73 kB / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.874e-05/0.1389, allocations: 35.78 kB / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1389, allocations: 0 / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.507e-05/0.139, allocations: 43.98 kB / 482.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.1391, allocations: 15.92 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.1392, allocations: 35.78 kB / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.1393, allocations: 111.9 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1393, allocations: 0 / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1394, allocations: 0 / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.1394, allocations: 4 kB / 482.7 MB, free: 2.367 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.0005306/0.1399, allocations: 399.1 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.14, allocations: 8.875 kB / 483.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.14, allocations: 12.78 kB / 483.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.1402, allocations: 208.1 kB / 483.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.1402, allocations: 384 / 483.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1403, allocations: 8.125 kB / 483.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1404, allocations: 53.67 kB / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.1404, allocations: 7.984 kB / 483.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1405, allocations: 0 / 483.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1405, allocations: 4 kB / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.334e-05/0.1406, allocations: 23.92 kB / 483.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.1409, allocations: 296.7 kB / 483.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.1411, allocations: 54.69 kB / 483.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.1412, allocations: 20.84 kB / 483.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1412, allocations: 7.938 kB / 483.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.1415, allocations: 63.39 kB / 483.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1415, allocations: 3.938 kB / 483.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005916/0.1421, allocations: 173.2 kB / 484 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.1422, allocations: 55.41 kB / 484 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.1423, allocations: 170.2 kB / 484.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1424, allocations: 25.7 kB / 484.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.1424, allocations: 100.1 kB / 484.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.61e-05/0.1425, allocations: 23.66 kB / 484.3 MB, free: 492 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/0.1426, allocations: 25.7 kB / 484.4 MB, free: 460 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1427, allocations: 330.8 kB / 484.7 MB, free: 120 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.1428, allocations: 16 kB / 484.7 MB, free: 104 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.1429, allocations: 37.7 kB / 484.7 MB, free: 60 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.143, allocations: 61.69 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.143, allocations: 0 / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002003/0.1432, allocations: 109.5 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1432, allocations: 4 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1433, allocations: 0 / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1433, allocations: 4 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.992e-05/0.1434, allocations: 16.03 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1434, allocations: 0 / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.1435, allocations: 15.92 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1435, allocations: 3.938 kB / 485 MB, free: 15.84 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.0001179/0.1436, allocations: 120.7 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.1436, allocations: 7.906 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.1437, allocations: 24.69 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1437, allocations: 4 kB / 485.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1437, allocations: 4 kB / 485.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1437, allocations: 7.875 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.1442, allocations: 383.3 kB / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1442, allocations: 0 / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.1442, allocations: 16.3 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1443, allocations: 4 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.1443, allocations: 7.938 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.1443, allocations: 4 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1443, allocations: 4.031 kB / 485.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.1446, allocations: 192.3 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.1446, allocations: 89.02 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.1447, allocations: 8.125 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.1448, allocations: 3.984 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.1448, allocations: 11.88 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.1448, allocations: 8 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.145, allocations: 131.2 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.145, allocations: 0 / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.1453, allocations: 24 kB / 486 MB, free: 14.7 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.001171/0.1465, allocations: 454.6 kB / 486.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.1466, allocations: 55.91 kB / 486.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1467, allocations: 4 kB / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.441e-05/0.1467, allocations: 31.97 kB / 486.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1471, allocations: 23.8 kB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.1476, allocations: 241 kB / 486.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.1479, allocations: 0.7004 MB / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.897e-05/0.1479, allocations: 16.88 kB / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.148, allocations: 19.44 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.148, allocations: 0 / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of Templates: time 0.004627/0.1526, allocations: 1.658 MB / 489.2 MB, free: 11.62 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches