Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001412, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.8 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.2216/0.2216, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002759, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1377, allocations: 63.55 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002297/0.14, allocations: 1.45 MB / 484.5 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.1418, allocations: 0.9863 MB / 485.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.1419, allocations: 4 kB / 485.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.1422, allocations: 55.81 kB / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.1425, allocations: 83.72 kB / 485.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.1428, allocations: 63.81 kB / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.143, allocations: 103.7 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1431, allocations: 15.94 kB / 485.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1433, allocations: 43.78 kB / 485.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.649e-05/0.1434, allocations: 39.72 kB / 485.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1434, allocations: 0 / 485.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1435, allocations: 43.98 kB / 486 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/0.1436, allocations: 31.89 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.1437, allocations: 61.39 kB / 486.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1439, allocations: 131.8 kB / 486.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1439, allocations: 4 kB / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1439, allocations: 0 / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1439, allocations: 0 / 486.2 MB, free: 1.031 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.0005856/0.1445, allocations: 433.4 kB / 486.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1445, allocations: 8.875 kB / 486.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.1446, allocations: 12.75 kB / 486.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1449, allocations: 217 kB / 486.9 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.1449, allocations: 4.375 kB / 486.9 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.1449, allocations: 12.12 kB / 486.9 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1451, allocations: 49.67 kB / 486.9 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1451, allocations: 7.984 kB / 486.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1451, allocations: 0 / 486.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1451, allocations: 4 kB / 486.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.524e-05/0.1452, allocations: 19.92 kB / 486.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.1457, allocations: 296.8 kB / 487.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1459, allocations: 58.67 kB / 487.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.1459, allocations: 24.84 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.146, allocations: 0 / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.1462, allocations: 75.31 kB / 487.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1462, allocations: 3.938 kB / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000659/0.1468, allocations: 189 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.1469, allocations: 51.41 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.1472, allocations: 267 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.1472, allocations: 25.7 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.1473, allocations: 120 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.1474, allocations: 15.8 kB / 488 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.1474, allocations: 17.72 kB / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1476, allocations: 330.8 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.782e-05/0.1476, allocations: 23.98 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-05/0.1477, allocations: 37.64 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1478, allocations: 65.72 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1478, allocations: 0 / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001954/0.148, allocations: 113.4 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1481, allocations: 4 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1481, allocations: 4.031 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1481, allocations: 3.938 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.1482, allocations: 20.36 kB / 488.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1482, allocations: 0 / 488.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.368e-05/0.1483, allocations: 11.88 kB / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.1483, allocations: 4 kB / 488.7 MB, free: 14.31 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.0001201/0.1484, allocations: 133.8 kB / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.1484, allocations: 15.81 kB / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.1485, allocations: 25.39 kB / 488.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1485, allocations: 4 kB / 488.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1485, allocations: 0 / 488.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1485, allocations: 3.938 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/0.149, allocations: 399.3 kB / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.149, allocations: 0 / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.1491, allocations: 11.94 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1491, allocations: 0 / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.1491, allocations: 11.92 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1491, allocations: 8.031 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1491, allocations: 0 / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.1493, allocations: 200.2 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/0.1494, allocations: 92.92 kB / 489.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.1494, allocations: 15.86 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.1495, allocations: 4 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.1496, allocations: 8 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.1496, allocations: 7.984 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.1498, allocations: 204.4 kB / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.1498, allocations: 0 / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1501, allocations: 31.92 kB / 489.8 MB, free: 13.05 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.001062/0.1511, allocations: 457.8 kB / 490.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.1513, allocations: 47.98 kB / 490.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1513, allocations: 0 / 490.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.071e-05/0.1514, allocations: 40.06 kB / 490.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.1518, allocations: 26.98 kB / 490.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005442/0.1523, allocations: 323 kB / 490.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1527, allocations: 0.7278 MB / 491.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.867e-05/0.1527, allocations: 16.83 kB / 491.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.1528, allocations: 19.42 kB / 491.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1528, allocations: 0 / 491.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of Templates: time 0.004609/0.1574, allocations: 1.667 MB / 493.1 MB, free: 9.867 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches