Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 108.3 kB / 17.21 MB, free: 6.289 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.00125/0.00125, allocations: 194 kB / 18.12 MB, free: 5.383 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.456/1.456, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.2237/0.2237, allocations: 44.19 MB / 336.1 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.62 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1234, allocations: 60.84 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.00305/0.1265, allocations: 1.741 MB / 470.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.1279, allocations: 0.8731 MB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.1279, allocations: 0 / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.1282, allocations: 31.91 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.1284, allocations: 47.83 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.1287, allocations: 95.77 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.1289, allocations: 91.7 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.676e-05/0.129, allocations: 16.19 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.616e-05/0.129, allocations: 35.8 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.497e-05/0.1291, allocations: 27.86 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.1291, allocations: 0 / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.827e-05/0.1292, allocations: 47.91 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.1293, allocations: 19.92 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.1294, allocations: 39.73 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.1295, allocations: 107.9 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1296, allocations: 3.984 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1296, allocations: 0 / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.1296, allocations: 0 / 471.7 MB, free: 11.64 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.00049/0.1301, allocations: 403.1 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1301, allocations: 12.03 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.1302, allocations: 8.844 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.1304, allocations: 211.9 kB / 472.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1304, allocations: 8.375 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1304, allocations: 4.125 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1306, allocations: 65.61 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1306, allocations: 0 / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1306, allocations: 0 / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1306, allocations: 0 / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.154e-05/0.1307, allocations: 23.98 kB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.1311, allocations: 288.8 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.1313, allocations: 58.67 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/0.1314, allocations: 20.84 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1314, allocations: 0 / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.1316, allocations: 67.39 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1316, allocations: 11.88 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005559/0.1322, allocations: 173.2 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1322, allocations: 51.41 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.1324, allocations: 186.1 kB / 473.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1324, allocations: 33.69 kB / 473.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.1325, allocations: 96.14 kB / 473.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.1325, allocations: 31.62 kB / 473.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.1326, allocations: 21.72 kB / 473.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1327, allocations: 330.8 kB / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.126e-05/0.1328, allocations: 19.98 kB / 473.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/0.1328, allocations: 37.7 kB / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.133, allocations: 53.72 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.133, allocations: 3.938 kB / 473.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001859/0.1332, allocations: 101.5 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1332, allocations: 10.97 kB / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1332, allocations: 0 / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1332, allocations: 0 / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.226e-05/0.1333, allocations: 23.92 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1333, allocations: 4 kB / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.1334, allocations: 3.938 kB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.1334, allocations: 4 kB / 474 MB, free: 9.09 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 0.0001097/0.1335, allocations: 125.8 kB / 474.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.1336, allocations: 15.94 kB / 474.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/0.1336, allocations: 12.72 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1336, allocations: 0 / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.1336, allocations: 384 / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1336, allocations: 4.125 kB / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.1341, allocations: 399.3 kB / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1341, allocations: 3.938 kB / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.1342, allocations: 8 kB / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1342, allocations: 8.016 kB / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1342, allocations: 7.938 kB / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1342, allocations: 0 / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.1342, allocations: 0 / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1345, allocations: 208.1 kB / 474.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.1345, allocations: 89 kB / 474.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.1346, allocations: 11.88 kB / 474.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.1346, allocations: 4 kB / 474.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.1347, allocations: 3.984 kB / 474.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1347, allocations: 8 kB / 474.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.1348, allocations: 143.2 kB / 475.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1348, allocations: 0 / 475.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1351, allocations: 27.98 kB / 475.1 MB, free: 7.922 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.001024/0.1361, allocations: 467.8 kB / 475.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.1363, allocations: 59.95 kB / 475.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1363, allocations: 0 / 475.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.383e-05/0.1364, allocations: 27.94 kB / 475.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1368, allocations: 32.09 kB / 475.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004747/0.1373, allocations: 237 kB / 475.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1376, allocations: 0.7083 MB / 476.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.11e-05/0.1377, allocations: 12.88 kB / 476.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.1377, allocations: 23.38 kB / 476.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1377, allocations: 0 / 476.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of Templates: time 0.00444/0.1422, allocations: 1.641 MB / 478.3 MB, free: 4.867 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches