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.0007812/0.0007817, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009217/0.0009218, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.7 MB / 247.5 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2247/0.2247, allocations: 46.19 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002628/0.0002627, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1121, allocations: 63.55 MB / 483.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002145/0.1143, allocations: 1.446 MB / 485.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.116, allocations: 1.02 MB / 486.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.091e-05/0.1162, allocations: 0 / 486.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.1165, allocations: 31.84 kB / 486.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.1168, allocations: 75.73 kB / 486.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.117, allocations: 67.81 kB / 486.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.1172, allocations: 103.7 kB / 486.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.61e-05/0.1173, allocations: 8 kB / 486.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1175, allocations: 47.77 kB / 486.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.395e-05/0.1176, allocations: 39.73 kB / 486.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1176, allocations: 4 kB / 486.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.1178, allocations: 107.9 kB / 486.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.1179, allocations: 19.84 kB / 486.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.898e-05/0.118, allocations: 57.5 kB / 486.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.1183, allocations: 139.9 kB / 486.9 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1183, allocations: 0 / 486.9 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1183, allocations: 0 / 486.9 MB, free: 1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1183, allocations: 0 / 486.9 MB, free: 1 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.0006179/0.119, allocations: 415.2 kB / 487.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.119, allocations: 8.875 kB / 487.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.814e-05/0.1191, allocations: 12.84 kB / 487.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.1194, allocations: 212 kB / 487.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1195, allocations: 384 / 487.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.1195, allocations: 8.125 kB / 487.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.1197, allocations: 71.39 kB / 487.6 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1197, allocations: 4 kB / 487.6 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1197, allocations: 0 / 487.6 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1197, allocations: 0 / 487.6 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.621e-05/0.1198, allocations: 19.98 kB / 487.6 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.1203, allocations: 284.8 kB / 487.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.1205, allocations: 70.61 kB / 488 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.197e-05/0.1206, allocations: 28.95 kB / 488 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1206, allocations: 0 / 488 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.1208, allocations: 75.31 kB / 488.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.1209, allocations: 0 / 488.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006566/0.1215, allocations: 197.4 kB / 488.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.1216, allocations: 85.11 kB / 488.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.1218, allocations: 162.2 kB / 488.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.712e-05/0.1219, allocations: 29.7 kB / 488.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/0.1219, allocations: 100.1 kB / 488.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.122, allocations: 39.53 kB / 488.7 MB, free: 15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.122, allocations: 13.72 kB / 488.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.1223, allocations: 326.8 kB / 489 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/0.1223, allocations: 27.98 kB / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.86e-05/0.1224, allocations: 62.17 kB / 489.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.1226, allocations: 81.58 kB / 489.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1226, allocations: 0 / 489.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002447/0.1229, allocations: 121.4 kB / 489.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1229, allocations: 8 kB / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1229, allocations: 240 / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1229, allocations: 4.062 kB / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.123, allocations: 19.98 kB / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.1231, allocations: 8.078 kB / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.926e-05/0.1231, allocations: 7.875 kB / 489.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1231, allocations: 8 kB / 489.3 MB, free: 14.29 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.0001101/0.1232, allocations: 125.8 kB / 489.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.1233, allocations: 7.906 kB / 489.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.1233, allocations: 12.72 kB / 489.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1233, allocations: 4 kB / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1233, allocations: 4 kB / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1234, allocations: 3.938 kB / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005244/0.1239, allocations: 427.1 kB / 489.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1239, allocations: 0 / 489.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.124, allocations: 19.88 kB / 489.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.124, allocations: 4 kB / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.124, allocations: 4.031 kB / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.124, allocations: 4 kB / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.124, allocations: 4 kB / 490 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.1243, allocations: 212.2 kB / 490.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.1244, allocations: 92.94 kB / 490.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.1245, allocations: 8 kB / 490.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.1246, allocations: 8 kB / 490.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.1246, allocations: 7.984 kB / 490.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.1247, allocations: 8 kB / 490.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1248, allocations: 130.4 kB / 490.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1248, allocations: 0 / 490.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.1251, allocations: 47.98 kB / 490.5 MB, free: 13.07 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.001377/0.1265, allocations: 0.5472 MB / 491 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.1267, allocations: 83.84 kB / 491.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1267, allocations: 0 / 491.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.547e-05/0.1268, allocations: 31.98 kB / 491.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1272, allocations: 37.97 kB / 491.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005407/0.1277, allocations: 272.1 kB / 491.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.1281, allocations: 0.7087 MB / 492.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.1282, allocations: 23.42 kB / 492.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1282, allocations: 3.938 kB / 492.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of Templates: time 0.005145/0.1333, allocations: 2.529 MB / 494.7 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 -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