Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.001271, allocations: 112.7 kB / 17.33 MB, free: 6.016 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.001349/0.001349, allocations: 193.3 kB / 18.25 MB, free: 5.113 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.393/1.393, allocations: 222.9 MB / 241.9 MB, free: 13.7 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.2109/0.2109, allocations: 44.19 MB / 336.2 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.95 kB / 407.9 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1257, allocations: 60.82 MB / 468.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003193/0.1289, allocations: 1.765 MB / 470.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.1309, allocations: 1.444 MB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.968e-05/0.131, allocations: 0 / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.1312, allocations: 43.83 kB / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.1315, allocations: 51.81 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.1318, allocations: 95.77 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.1319, allocations: 95.7 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.132, allocations: 12.23 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.155e-05/0.1321, allocations: 43.78 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.1323, allocations: 31.84 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1323, allocations: 8 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1324, allocations: 63.95 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.1325, allocations: 19.88 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.1325, allocations: 35.78 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1327, allocations: 115.9 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1327, allocations: 4 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1327, allocations: 7.984 kB / 472.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1328, allocations: 0 / 472.5 MB, free: 10.84 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.0004955/0.1333, allocations: 387.2 kB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1333, allocations: 16.03 kB / 472.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.1333, allocations: 8.844 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.1336, allocations: 206.5 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1336, allocations: 8.312 kB / 473.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.1336, allocations: 4.125 kB / 473.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1338, allocations: 67.39 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.1338, allocations: 0 / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1338, allocations: 7.984 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1338, allocations: 4 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.55e-05/0.1339, allocations: 19.98 kB / 473.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.1343, allocations: 276.9 kB / 473.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.1345, allocations: 58.55 kB / 473.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.291e-05/0.1345, allocations: 24.84 kB / 473.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.1346, allocations: 7.984 kB / 473.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.1348, allocations: 67.38 kB / 473.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1348, allocations: 0 / 473.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005169/0.1353, allocations: 181.1 kB / 473.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.1354, allocations: 81.11 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.1355, allocations: 141.8 kB / 474.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1355, allocations: 33.7 kB / 474.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.1356, allocations: 100.1 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.1356, allocations: 27.64 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.1357, allocations: 21.66 kB / 474.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1358, allocations: 326.8 kB / 474.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.939e-05/0.1358, allocations: 20 kB / 474.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.1359, allocations: 42.55 kB / 474.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.136, allocations: 57.75 kB / 474.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.136, allocations: 0 / 474.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001924/0.1362, allocations: 105.5 kB / 474.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1363, allocations: 4 kB / 474.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1363, allocations: 4 kB / 474.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1363, allocations: 0 / 474.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.686e-05/0.1364, allocations: 15.94 kB / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1364, allocations: 4.031 kB / 474.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.158e-05/0.1365, allocations: 15.86 kB / 474.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1365, allocations: 8 kB / 474.8 MB, free: 8.289 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 8.709e-05/0.1366, allocations: 113.8 kB / 475 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.1366, allocations: 7.906 kB / 475 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/0.1367, allocations: 16.7 kB / 475 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1367, allocations: 4 kB / 475 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1367, allocations: 0 / 475 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1367, allocations: 3.938 kB / 475 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.1371, allocations: 391.5 kB / 475.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1371, allocations: 0 / 475.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.1372, allocations: 11.98 kB / 475.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1372, allocations: 0 / 475.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.639e-05/0.1373, allocations: 7.938 kB / 475.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1373, allocations: 4.016 kB / 475.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1373, allocations: 3.984 kB / 475.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.1375, allocations: 208.2 kB / 475.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.647e-05/0.1376, allocations: 81.02 kB / 475.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.1376, allocations: 11.92 kB / 475.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.1377, allocations: 4.375 kB / 475.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.1377, allocations: 4 kB / 475.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1378, allocations: 8 kB / 475.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1379, allocations: 122 kB / 475.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1379, allocations: 4 kB / 475.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1382, allocations: 31.98 kB / 475.9 MB, free: 7.164 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.001149/0.1393, allocations: 0.4971 MB / 476.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.1395, allocations: 63.89 kB / 476.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1395, allocations: 0 / 476.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.362e-05/0.1396, allocations: 31.92 kB / 476.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.14, allocations: 36.36 kB / 476.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.1404, allocations: 210.8 kB / 476.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.1406, allocations: 0.6963 MB / 477.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.372e-05/0.1407, allocations: 16.88 kB / 477.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.1408, allocations: 27.36 kB / 477.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1408, allocations: 0 / 477.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of Templates: time 0.004678/0.1455, allocations: 1.955 MB / 479.4 MB, free: 3.797 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches