Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2155/0.2155, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 79.86 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1118, allocations: 62.46 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003162/0.115, allocations: 1.587 MB / 483.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009937/0.116, allocations: 0.5611 MB / 483.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.116, allocations: 0 / 483.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.1163, allocations: 27.84 kB / 483.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.1166, allocations: 75.62 kB / 483.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.1169, allocations: 127.5 kB / 483.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.117, allocations: 63.84 kB / 483.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1171, allocations: 11.98 kB / 483.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1172, allocations: 35.84 kB / 484 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.497e-05/0.1173, allocations: 23.86 kB / 484 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1174, allocations: 4 kB / 484 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.1175, allocations: 99.92 kB / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.1176, allocations: 23.86 kB / 484.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.1176, allocations: 27.86 kB / 484.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.1178, allocations: 139.7 kB / 484.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1179, allocations: 0 / 484.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1179, allocations: 0 / 484.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1179, allocations: 0 / 484.3 MB, free: 1.715 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005145/0.1184, allocations: 415.1 kB / 484.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1184, allocations: 8.031 kB / 484.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.1185, allocations: 8.844 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.1187, allocations: 196.2 kB / 484.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1187, allocations: 12.38 kB / 484.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.1188, allocations: 384 / 484.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1189, allocations: 59.53 kB / 484.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1189, allocations: 4 kB / 485 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1189, allocations: 7.984 kB / 485 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.119, allocations: 0 / 485 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.813e-05/0.119, allocations: 19.98 kB / 485 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.1195, allocations: 300.8 kB / 485.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.1197, allocations: 54.48 kB / 485.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.713e-05/0.1197, allocations: 24.94 kB / 485.4 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1198, allocations: 0 / 485.4 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1198, allocations: 38.5 kB / 485.4 MB, free: 432 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1198, allocations: 0 / 485.4 MB, free: 432 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006371/0.1204, allocations: 185.2 kB / 485.6 MB, free: 240 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.1205, allocations: 81.11 kB / 485.6 MB, free: 140 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.1207, allocations: 152.2 kB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1208, allocations: 25.7 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.1209, allocations: 96.14 kB / 485.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.1209, allocations: 27.64 kB / 485.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.121, allocations: 21.72 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1211, allocations: 322.8 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-05/0.1212, allocations: 27.98 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.641e-05/0.1213, allocations: 49.69 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.1215, allocations: 76.84 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1215, allocations: 0 / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002284/0.1217, allocations: 113.5 kB / 486.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1217, allocations: 4 kB / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1218, allocations: 0 / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1218, allocations: 0 / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1219, allocations: 19.98 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1219, allocations: 4 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.122, allocations: 7.984 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.122, allocations: 3.938 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.812e-05/0.1221, allocations: 117.8 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.1221, allocations: 11.91 kB / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.1224, allocations: 114.3 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1224, allocations: 0 / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1224, allocations: 4 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.1225, allocations: 4 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.123, allocations: 390.3 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.123, allocations: 4 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.123, allocations: 15.98 kB / 487.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1231, allocations: 0 / 487.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1231, allocations: 3.938 kB / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1231, allocations: 8 kB / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1231, allocations: 0 / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.1234, allocations: 203.7 kB / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.1234, allocations: 77.11 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1234, allocations: 7.938 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.1235, allocations: 7.984 kB / 487.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.1236, allocations: 7.938 kB / 487.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.1236, allocations: 8 kB / 487.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1237, allocations: 121.3 kB / 487.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1237, allocations: 0 / 487.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.124, allocations: 35.98 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001109/0.1251, allocations: 493.7 kB / 488.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.1253, allocations: 67.95 kB / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1253, allocations: 7.938 kB / 488.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.189e-05/0.1254, allocations: 35.97 kB / 488.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.1258, allocations: 15.98 kB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.1262, allocations: 189.8 kB / 488.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1265, allocations: 0.7 MB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.83e-05/0.1266, allocations: 28.95 kB / 489.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.1267, allocations: 19.42 kB / 489.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1267, allocations: 0 / 489.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of Templates: time 0.004738/0.1314, allocations: 1.947 MB / 491.2 MB, free: 10.55 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches