Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001332/0.001332, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.346/1.346, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2085/0.2085, allocations: 44.19 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 63.92 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1272, allocations: 60.83 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003332/0.1306, allocations: 1.692 MB / 471 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1323, allocations: 0.8769 MB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1324, allocations: 3.938 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.1327, allocations: 31.83 kB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.133, allocations: 63.69 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.1333, allocations: 111.6 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.1335, allocations: 91.7 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1336, allocations: 20.2 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.67e-05/0.1337, allocations: 35.8 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.1338, allocations: 35.78 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.1338, allocations: 4 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1339, allocations: 39.98 kB / 472.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.134, allocations: 19.92 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.018e-05/0.1341, allocations: 35.73 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.1343, allocations: 111.9 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1343, allocations: 4 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1343, allocations: 0 / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.555e-06/0.1343, allocations: 0 / 472.4 MB, free: 11.2 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.0006092/0.1349, allocations: 391 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.135, allocations: 12.03 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.135, allocations: 8.844 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.1353, allocations: 204.8 kB / 473 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1353, allocations: 7.938 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.1354, allocations: 0 / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.1355, allocations: 53.67 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1355, allocations: 3.906 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1356, allocations: 0 / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1356, allocations: 4 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.948e-05/0.1357, allocations: 23.92 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.1361, allocations: 284.8 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1363, allocations: 58.67 kB / 473.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.9e-05/0.1363, allocations: 16.86 kB / 473.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1364, allocations: 3.984 kB / 473.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.1366, allocations: 75.33 kB / 473.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1366, allocations: 0 / 473.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005846/0.1372, allocations: 173.2 kB / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.1373, allocations: 59.33 kB / 473.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.1375, allocations: 159.9 kB / 473.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.1375, allocations: 29.69 kB / 474 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.449e-05/0.1376, allocations: 100 kB / 474.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.1376, allocations: 27.64 kB / 474.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.1377, allocations: 25.72 kB / 474.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1378, allocations: 318.8 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.916e-05/0.1379, allocations: 23.98 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.314e-05/0.138, allocations: 33.7 kB / 474.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.1381, allocations: 62.03 kB / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1381, allocations: 0 / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001815/0.1383, allocations: 101.6 kB / 474.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1383, allocations: 4 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.1383, allocations: 8.188 kB / 474.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1383, allocations: 3.938 kB / 474.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.144e-05/0.1384, allocations: 23.86 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1384, allocations: 0 / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.1385, allocations: 8 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1385, allocations: 4 kB / 474.7 MB, free: 8.695 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.759e-05/0.1386, allocations: 117.9 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.1386, allocations: 11.91 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/0.1387, allocations: 20.64 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1387, allocations: 0 / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1387, allocations: 0 / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1387, allocations: 0 / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.1392, allocations: 387.3 kB / 475.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1392, allocations: 0 / 475.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.1392, allocations: 15.97 kB / 475.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1392, allocations: 3.984 kB / 475.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1393, allocations: 11.92 kB / 475.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1393, allocations: 0 / 475.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1393, allocations: 0 / 475.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.1395, allocations: 208.1 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.1396, allocations: 85.02 kB / 475.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.1396, allocations: 4 kB / 475.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.726e-05/0.1397, allocations: 11.98 kB / 475.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.1397, allocations: 4 kB / 475.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1397, allocations: 0 / 475.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.308e-05/0.1398, allocations: 125.7 kB / 475.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1398, allocations: 0 / 475.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1401, allocations: 27.98 kB / 475.7 MB, free: 7.574 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.001031/0.1411, allocations: 473.7 kB / 476.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.1413, allocations: 63.84 kB / 476.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.1413, allocations: 0 / 476.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.288e-05/0.1414, allocations: 32.06 kB / 476.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.1418, allocations: 27.97 kB / 476.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.1423, allocations: 206.8 kB / 476.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.1426, allocations: 0.6963 MB / 477.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.276e-05/0.1427, allocations: 16.88 kB / 477.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.1427, allocations: 19.44 kB / 477.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1427, allocations: 0 / 477.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of Templates: time 0.004328/0.1471, allocations: 1.692 MB / 478.9 MB, free: 4.508 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches