Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 104.1 kB / 17.64 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 242.2 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2494/0.2494, allocations: 44.17 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 66.19 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1274, allocations: 60.83 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.00301/0.1304, allocations: 1.699 MB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1318, allocations: 0.8769 MB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/0.1319, allocations: 0 / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.1322, allocations: 47.75 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.1325, allocations: 51.77 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.1328, allocations: 114.9 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.133, allocations: 95.7 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.1331, allocations: 4.234 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.349e-05/0.1332, allocations: 43.78 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.034e-05/0.1333, allocations: 31.84 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1333, allocations: 4 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-05/0.1334, allocations: 39.98 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.959e-05/0.1335, allocations: 23.86 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.1335, allocations: 39.67 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1337, allocations: 119.9 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1337, allocations: 0 / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1337, allocations: 0 / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1338, allocations: 0 / 472.4 MB, free: 11.17 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.0005847/0.1343, allocations: 399 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1344, allocations: 16.02 kB / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.1344, allocations: 12.84 kB / 472.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.1347, allocations: 219.9 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1347, allocations: 384 / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.1347, allocations: 8.125 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1349, allocations: 53.67 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1349, allocations: 3.984 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1349, allocations: 3.984 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1349, allocations: 0 / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.215e-05/0.135, allocations: 19.98 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.1354, allocations: 284.9 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.1356, allocations: 58.62 kB / 473.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.393e-05/0.1357, allocations: 20.84 kB / 473.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1357, allocations: 0 / 473.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.1359, allocations: 71.39 kB / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.795e-06/0.136, allocations: 0 / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006454/0.1366, allocations: 181.1 kB / 473.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.1367, allocations: 51.41 kB / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.1369, allocations: 186.2 kB / 474 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1369, allocations: 29.7 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.137, allocations: 96.14 kB / 474.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.137, allocations: 27.64 kB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.1371, allocations: 29.66 kB / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1372, allocations: 330.8 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.235e-05/0.1372, allocations: 15.98 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.501e-05/0.1373, allocations: 37.7 kB / 474.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1374, allocations: 61.69 kB / 474.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1374, allocations: 0 / 474.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001842/0.1376, allocations: 105.4 kB / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1377, allocations: 4 kB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1377, allocations: 192 / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1377, allocations: 0 / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.004e-05/0.1378, allocations: 23.92 kB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1378, allocations: 3.938 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.1378, allocations: 8.312 kB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1379, allocations: 4 kB / 474.8 MB, free: 8.617 MB / 350.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.492e-05/0.138, allocations: 125.9 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.138, allocations: 15.91 kB / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.138, allocations: 16.72 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.138, allocations: 0 / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1381, allocations: 0 / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.1381, allocations: 7.922 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.1385, allocations: 387.3 kB / 475.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1385, allocations: 0 / 475.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.1386, allocations: 12.03 kB / 475.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1386, allocations: 0 / 475.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1386, allocations: 11.94 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1386, allocations: 0 / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1386, allocations: 0 / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.1389, allocations: 204.1 kB / 475.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.1389, allocations: 89.02 kB / 475.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.139, allocations: 7.938 kB / 475.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.77e-05/0.139, allocations: 7.938 kB / 475.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.1391, allocations: 7.984 kB / 475.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.1391, allocations: 4 kB / 475.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1392, allocations: 147.2 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1392, allocations: 0 / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1395, allocations: 20 kB / 475.8 MB, free: 7.465 MB / 350.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.001213/0.1407, allocations: 465 kB / 476.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.1409, allocations: 67.89 kB / 476.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.1409, allocations: 4 kB / 476.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.715e-05/0.141, allocations: 32.05 kB / 476.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.1413, allocations: 23.98 kB / 476.4 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.1418, allocations: 219.2 kB / 476.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.1421, allocations: 0.7119 MB / 477.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.645e-05/0.1421, allocations: 16.88 kB / 477.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.1422, allocations: 23.36 kB / 477.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1422, allocations: 0 / 477.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of Templates: time 0.004831/0.147, allocations: 1.7 MB / 479 MB, free: 4.359 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches