Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001131/0.001131, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2177/0.2177, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 85.83 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1229, allocations: 62.44 MB / 481.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003641/0.1266, allocations: 1.727 MB / 483.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1286, allocations: 1.044 MB / 484.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.8e-05/0.1287, allocations: 4 kB / 484.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.129, allocations: 35.77 kB / 484.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.1294, allocations: 95.53 kB / 484.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.1296, allocations: 79.67 kB / 484.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.1299, allocations: 111.7 kB / 484.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.13, allocations: 11.98 kB / 484.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1301, allocations: 47.77 kB / 484.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1303, allocations: 35.86 kB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.1303, allocations: 4 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.1305, allocations: 115.9 kB / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.982e-05/0.1306, allocations: 23.91 kB / 484.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.27e-05/0.1307, allocations: 39.73 kB / 484.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.131, allocations: 179.5 kB / 485 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.131, allocations: 0 / 485 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.131, allocations: 0 / 485 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.882e-06/0.1311, allocations: 3.938 kB / 485 MB, free: 0.9375 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.0008305/0.1319, allocations: 427 kB / 485.4 MB, free: 484 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.132, allocations: 12.03 kB / 485.4 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.132, allocations: 8.844 kB / 485.5 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.1324, allocations: 216.1 kB / 485.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1324, allocations: 384 / 485.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.1325, allocations: 8.125 kB / 485.7 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1326, allocations: 75.33 kB / 485.7 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1327, allocations: 0 / 485.7 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1327, allocations: 0 / 485.7 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1327, allocations: 0 / 485.7 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.621e-05/0.1328, allocations: 27.97 kB / 485.8 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.1331, allocations: 280.8 kB / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.1334, allocations: 74.55 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.928e-05/0.1334, allocations: 24.97 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.1335, allocations: 0 / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.1336, allocations: 75.38 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.562e-06/0.1336, allocations: 0 / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005715/0.1342, allocations: 201.2 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.1343, allocations: 81.05 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1344, allocations: 165.3 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.1345, allocations: 33.69 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.1345, allocations: 96.08 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.1346, allocations: 39.55 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.1346, allocations: 25.72 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1348, allocations: 322.8 kB / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.523e-05/0.1349, allocations: 27.98 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.429e-05/0.135, allocations: 54.55 kB / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.1351, allocations: 89.55 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1351, allocations: 0 / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002226/0.1354, allocations: 117.6 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1354, allocations: 4 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1354, allocations: 0 / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1354, allocations: 0 / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1355, allocations: 27.92 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1356, allocations: 0 / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.399e-05/0.1356, allocations: 7.844 kB / 487.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1356, allocations: 16.02 kB / 487.5 MB, free: 14.2 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 (13): * Single equations (assignments): 13 * 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.000119/0.1358, allocations: 117.9 kB / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.1358, allocations: 11.84 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.1359, allocations: 20.7 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.1359, allocations: 4 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.1359, allocations: 0 / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1359, allocations: 3.938 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.1364, allocations: 431.1 kB / 488.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1364, allocations: 3.938 kB / 488.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.1365, allocations: 11.94 kB / 488.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.1365, allocations: 4 kB / 488.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1365, allocations: 3.984 kB / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1365, allocations: 0 / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.1365, allocations: 4 kB / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1368, allocations: 212.3 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.1368, allocations: 92.94 kB / 488.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.1369, allocations: 8 kB / 488.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.137, allocations: 7.938 kB / 488.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.137, allocations: 7.984 kB / 488.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.137, allocations: 4 kB / 488.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1371, allocations: 131.1 kB / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1371, allocations: 0 / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000311/0.1374, allocations: 51.98 kB / 488.6 MB, free: 12.98 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 (10): * Single equations (assignments): 8 * 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.001209/0.1387, allocations: 0.5444 MB / 489.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1389, allocations: 75.91 kB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1389, allocations: 4.062 kB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.093e-05/0.139, allocations: 35.92 kB / 489.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.1393, allocations: 38 kB / 489.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.1398, allocations: 219.1 kB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.1401, allocations: 0.7046 MB / 490.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.827e-05/0.1402, allocations: 36.55 kB / 490.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.1402, allocations: 19.42 kB / 490.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1402, allocations: 0 / 490.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of Templates: time 0.005331/0.1456, allocations: 2.494 MB / 492.8 MB, free: 8.969 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches