Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.8 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.2369/0.2369, allocations: 46.09 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 80.84 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1296, allocations: 62.44 MB / 480 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002883/0.1325, allocations: 1.724 MB / 481.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.134, allocations: 1.033 MB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.1341, allocations: 0 / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.1344, allocations: 31.78 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.1347, allocations: 91.61 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.1349, allocations: 79.66 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.135, allocations: 107.7 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.1351, allocations: 8 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.368e-05/0.1352, allocations: 51.78 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.1353, allocations: 27.8 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1353, allocations: 7.938 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.687e-05/0.1354, allocations: 39.98 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.1355, allocations: 27.91 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.889e-05/0.1355, allocations: 31.8 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.1357, allocations: 115.9 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1357, allocations: 0 / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1357, allocations: 0 / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1357, allocations: 0 / 483.4 MB, free: 1.918 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.0004681/0.1362, allocations: 415 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1362, allocations: 12.03 kB / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.1363, allocations: 12.75 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.1365, allocations: 216 kB / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1366, allocations: 384 / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.1366, allocations: 8.109 kB / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1367, allocations: 57.67 kB / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1368, allocations: 0 / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1368, allocations: 3.938 kB / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1368, allocations: 4 kB / 484.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.965e-05/0.1369, allocations: 19.98 kB / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.1373, allocations: 284.8 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1375, allocations: 58.67 kB / 484.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.1375, allocations: 20.86 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1376, allocations: 0 / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.1378, allocations: 71.33 kB / 484.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1378, allocations: 0 / 484.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005906/0.1384, allocations: 165.3 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.1384, allocations: 55.34 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1386, allocations: 187.3 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1386, allocations: 29.7 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.1387, allocations: 108 kB / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.1388, allocations: 27.77 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.1388, allocations: 25.7 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1389, allocations: 326.8 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.12e-05/0.139, allocations: 16 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.1391, allocations: 37.7 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1392, allocations: 61.92 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1392, allocations: 0 / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001752/0.1394, allocations: 105.6 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1394, allocations: 4 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1394, allocations: 4 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.1394, allocations: 7.984 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.719e-05/0.1395, allocations: 15.94 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1395, allocations: 32 / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.1396, allocations: 11.94 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1396, allocations: 4 kB / 485.7 MB, free: 15.35 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 9.988e-05/0.1397, allocations: 124.5 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.1397, allocations: 11.91 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/0.1398, allocations: 17.39 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1398, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1398, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1398, allocations: 3.938 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004284/0.1402, allocations: 399.2 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1403, allocations: 192 / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.159e-05/0.1403, allocations: 8 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1403, allocations: 7.922 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.1403, allocations: 7.938 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.1403, allocations: 3.938 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1403, allocations: 0 / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.1406, allocations: 200.3 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.1407, allocations: 85.02 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.1407, allocations: 7.938 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.1408, allocations: 7.984 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.1408, allocations: 4 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.1408, allocations: 4 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.141, allocations: 135.9 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.302e-06/0.141, allocations: 4 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1412, allocations: 27.94 kB / 486.7 MB, free: 14.21 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.00114/0.1424, allocations: 463.1 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1426, allocations: 67.91 kB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1426, allocations: 0 / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.85e-05/0.1427, allocations: 23.98 kB / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.143, allocations: 35.77 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/0.1435, allocations: 231.2 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1438, allocations: 0.7002 MB / 488.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.469e-05/0.1439, allocations: 24.86 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.1439, allocations: 15.44 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.144, allocations: 0 / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Templates: time 0.004628/0.1486, allocations: 1.722 MB / 490 MB, free: 11.07 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches