Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001146/0.001146, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2034/0.2034, allocations: 46.1 MB / 344.3 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 76.06 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1117, allocations: 62.45 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.00321/0.1149, allocations: 1.649 MB / 481.6 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009913/0.116, allocations: 0.5377 MB / 482.1 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.116, allocations: 0 / 482.1 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.1163, allocations: 23.91 kB / 482.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.1166, allocations: 59.83 kB / 482.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.1169, allocations: 75.84 kB / 482.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.117, allocations: 59.84 kB / 482.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1171, allocations: 15.98 kB / 482.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.224e-05/0.1172, allocations: 31.8 kB / 482.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.1172, allocations: 15.86 kB / 482.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1173, allocations: 4 kB / 482.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.163e-05/0.1174, allocations: 27.98 kB / 482.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.1174, allocations: 15.92 kB / 482.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.1175, allocations: 27.8 kB / 482.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1176, allocations: 55.92 kB / 482.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1176, allocations: 0 / 482.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1176, allocations: 4 kB / 482.5 MB, free: 3.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.1176, allocations: 0 / 482.5 MB, free: 3.102 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.0004728/0.1181, allocations: 391.5 kB / 482.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1182, allocations: 8.875 kB / 482.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.1182, allocations: 12.78 kB / 482.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.1184, allocations: 196.1 kB / 483.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-06/0.1184, allocations: 4.359 kB / 483.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.1184, allocations: 384 / 483.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.1186, allocations: 53.81 kB / 483.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1186, allocations: 0 / 483.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1186, allocations: 3.984 kB / 483.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1186, allocations: 0 / 483.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.754e-05/0.1187, allocations: 19.98 kB / 483.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.1191, allocations: 288.8 kB / 483.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.1193, allocations: 50.5 kB / 483.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.1193, allocations: 12.94 kB / 483.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.1194, allocations: 0 / 483.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.1194, allocations: 38.56 kB / 483.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1194, allocations: 0 / 483.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005233/0.1199, allocations: 141.3 kB / 483.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.12, allocations: 51.41 kB / 483.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.1201, allocations: 169.2 kB / 483.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.1202, allocations: 25.7 kB / 484 MB, free: 1.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.1202, allocations: 100.1 kB / 484.1 MB, free: 1.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.1202, allocations: 15.75 kB / 484.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.1203, allocations: 21.7 kB / 484.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1204, allocations: 318.8 kB / 484.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.824e-05/0.1205, allocations: 23.92 kB / 484.4 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.66e-05/0.1205, allocations: 19.98 kB / 484.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1207, allocations: 44.83 kB / 484.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1207, allocations: 0 / 484.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001678/0.1209, allocations: 77.83 kB / 484.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1209, allocations: 10.17 kB / 484.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1209, allocations: 8 kB / 484.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1209, allocations: 0 / 484.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.121, allocations: 19.94 kB / 484.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.121, allocations: 0 / 484.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.121, allocations: 11.92 kB / 484.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.121, allocations: 0 / 484.6 MB, free: 0.7891 MB / 350.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 (5): * Single equations (assignments): 5 * 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.739e-05/0.1211, allocations: 113.8 kB / 484.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.1212, allocations: 7.906 kB / 484.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.1214, allocations: 101.9 kB / 484.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1214, allocations: 4 kB / 484.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1214, allocations: 0 / 484.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.1215, allocations: 3.938 kB / 484.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003947/0.1218, allocations: 338.5 kB / 485.2 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1219, allocations: 3.938 kB / 485.2 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.1219, allocations: 19.98 kB / 485.2 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.1219, allocations: 0 / 485.2 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.122, allocations: 11.88 kB / 485.2 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.122, allocations: 0 / 485.2 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.122, allocations: 0 / 485.2 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.1222, allocations: 179.4 kB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/0.1223, allocations: 85.02 kB / 485.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1223, allocations: 7.938 kB / 485.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.1224, allocations: 8.172 kB / 485.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.1225, allocations: 288 / 485.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.1225, allocations: 8 kB / 485.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.1226, allocations: 123.2 kB / 485.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1226, allocations: 0 / 485.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.1228, allocations: 12 kB / 485.6 MB, free: 15.68 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 (5): * Single equations (assignments): 5 * 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.0009582/0.1238, allocations: 399.7 kB / 486 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.124, allocations: 47.95 kB / 486.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.124, allocations: 3.938 kB / 486.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.911e-05/0.1241, allocations: 23.98 kB / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.1244, allocations: 17.97 kB / 486.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.1249, allocations: 245.5 kB / 486.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1251, allocations: 0.6954 MB / 487 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.1252, allocations: 11.44 kB / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1252, allocations: 0 / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of Templates: time 0.00309/0.1283, allocations: 1.448 MB / 488.5 MB, free: 12.87 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches