Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001351/0.001351, 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.001367/0.001367, 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.426/1.426, allocations: 227.4 MB / 247.5 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2316/0.2316, allocations: 46.11 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 80.12 kB / 418.3 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1398, allocations: 62.46 MB / 480.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003574/0.1434, allocations: 1.74 MB / 482.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1453, allocations: 1.029 MB / 483.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.89e-05/0.1454, allocations: 0 / 483.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.1457, allocations: 91.69 kB / 483.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.1461, allocations: 119.5 kB / 483.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.1464, allocations: 87.66 kB / 483.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.1466, allocations: 119.7 kB / 484 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1467, allocations: 12 kB / 484 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1468, allocations: 51.78 kB / 484 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.1469, allocations: 71.73 kB / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.147, allocations: 4 kB / 484.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.1471, allocations: 63.97 kB / 484.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.1472, allocations: 23.92 kB / 484.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.266e-05/0.1472, allocations: 47.62 kB / 484.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.1475, allocations: 143.8 kB / 484.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1475, allocations: 0 / 484.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1475, allocations: 0 / 484.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1475, allocations: 0 / 484.4 MB, free: 1.59 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006178/0.1481, allocations: 434.8 kB / 484.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1482, allocations: 12.03 kB / 484.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.1482, allocations: 8.844 kB / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.1485, allocations: 233.5 kB / 485 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1485, allocations: 4.312 kB / 485 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.1486, allocations: 8.125 kB / 485.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1488, allocations: 69.59 kB / 485.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1488, allocations: 0 / 485.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1488, allocations: 0 / 485.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1488, allocations: 0 / 485.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.507e-05/0.1489, allocations: 19.98 kB / 485.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.1494, allocations: 304.7 kB / 485.4 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.1496, allocations: 66.48 kB / 485.5 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.744e-05/0.1497, allocations: 28.95 kB / 485.5 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.1497, allocations: 0 / 485.5 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.15, allocations: 71.47 kB / 485.6 MB, free: 192 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.15, allocations: 0 / 485.6 MB, free: 192 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008496/0.1508, allocations: 249.4 kB / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.1509, allocations: 59.28 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.1511, allocations: 246 kB / 486.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1512, allocations: 25.7 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.1513, allocations: 112.1 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.1513, allocations: 31.55 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.1514, allocations: 29.72 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1516, allocations: 326.8 kB / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.212e-05/0.1516, allocations: 32 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.012e-05/0.1517, allocations: 49.69 kB / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.1519, allocations: 69.72 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1519, allocations: 4 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002463/0.1522, allocations: 133.4 kB / 486.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1522, allocations: 6.344 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1522, allocations: 0 / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1522, allocations: 0 / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.075e-05/0.1523, allocations: 27.92 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1523, allocations: 3.938 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.156e-05/0.1524, allocations: 8 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.1524, allocations: 0 / 487 MB, free: 14.73 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 (13): * Single equations (assignments): 13 * 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.0001363/0.1526, allocations: 137.9 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.1526, allocations: 11.81 kB / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/0.1527, allocations: 25.39 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1527, allocations: 4 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1527, allocations: 3.938 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1527, allocations: 0 / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005781/0.1533, allocations: 463.9 kB / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1533, allocations: 0 / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.1533, allocations: 19.98 kB / 487.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1533, allocations: 0 / 487.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1534, allocations: 4 kB / 487.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1534, allocations: 3.938 kB / 487.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1534, allocations: 0 / 487.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.1537, allocations: 233.1 kB / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.1537, allocations: 92.91 kB / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.1538, allocations: 4 kB / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.718e-05/0.1539, allocations: 8 kB / 488 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.1539, allocations: 11.92 kB / 488 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.1539, allocations: 8 kB / 488 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.1541, allocations: 172.4 kB / 488.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1541, allocations: 4 kB / 488.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.1544, allocations: 32 kB / 488.2 MB, free: 13.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001947/0.1564, allocations: 0.5032 MB / 488.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.1567, allocations: 79.91 kB / 488.8 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1567, allocations: 0 / 488.8 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.399e-05/0.1568, allocations: 43.92 kB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1572, allocations: 32.11 kB / 488.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006038/0.1578, allocations: 322.3 kB / 489.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.1582, allocations: 0.7157 MB / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.1583, allocations: 23.42 kB / 489.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1583, allocations: 0 / 489.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of Templates: time 0.004698/0.163, allocations: 2.267 MB / 492.2 MB, free: 9.555 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches