Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000918/0.0009181, 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.00113/0.00113, 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.311/1.311, allocations: 227.7 MB / 247.5 MB, free: 11.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1922/0.1922, allocations: 46.19 MB / 345.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002489/0.000249, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09966/0.09992, allocations: 63.57 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001974/0.1019, allocations: 1.326 MB / 485.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.103, allocations: 0.5223 MB / 485.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.103, allocations: 0 / 485.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.1033, allocations: 71.77 kB / 485.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.1036, allocations: 83.8 kB / 485.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1039, allocations: 79.84 kB / 485.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.104, allocations: 75.81 kB / 485.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1041, allocations: 15.98 kB / 485.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.21e-05/0.1042, allocations: 27.86 kB / 485.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1043, allocations: 51.77 kB / 486 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1044, allocations: 4 kB / 486 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.1045, allocations: 39.98 kB / 486 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.1045, allocations: 23.91 kB / 486.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.341e-05/0.1046, allocations: 53.45 kB / 486.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1048, allocations: 75.88 kB / 486.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1048, allocations: 0 / 486.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1048, allocations: 0 / 486.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1048, allocations: 0 / 486.2 MB, free: 1.676 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000444/0.1052, allocations: 403.3 kB / 486.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1053, allocations: 12.88 kB / 486.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.1053, allocations: 12.75 kB / 486.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.1055, allocations: 200 kB / 486.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1055, allocations: 4.375 kB / 486.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.1055, allocations: 384 / 486.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1057, allocations: 57.81 kB / 486.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1057, allocations: 0 / 486.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1057, allocations: 0 / 486.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1057, allocations: 0 / 486.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1058, allocations: 39.95 kB / 486.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.1062, allocations: 292.8 kB / 487.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.1063, allocations: 46.55 kB / 487.2 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.1064, allocations: 24.94 kB / 487.2 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1064, allocations: 4 kB / 487.3 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.1064, allocations: 30.56 kB / 487.3 MB, free: 420 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1065, allocations: 0 / 487.3 MB, free: 420 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008802/0.1073, allocations: 264.9 kB / 487.5 MB, free: 148 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.1074, allocations: 51.41 kB / 487.6 MB, free: 84 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.1076, allocations: 201.9 kB / 487.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1076, allocations: 29.7 kB / 487.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.1077, allocations: 104.1 kB / 487.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1077, allocations: 35.61 kB / 488 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.1077, allocations: 9.719 kB / 488 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1079, allocations: 330.8 kB / 488.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.182e-05/0.108, allocations: 23.98 kB / 488.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.108, allocations: 27.98 kB / 488.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1082, allocations: 72.83 kB / 488.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1082, allocations: 0 / 488.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002231/0.1084, allocations: 109.5 kB / 488.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1085, allocations: 4 kB / 488.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1085, allocations: 7.938 kB / 488.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1085, allocations: 4 kB / 488.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1086, allocations: 19.98 kB / 488.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1086, allocations: 0 / 488.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.811e-05/0.1087, allocations: 7.938 kB / 488.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.1087, allocations: 8 kB / 488.6 MB, free: 15.06 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 8.5e-05/0.1088, allocations: 121.8 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.1088, allocations: 11.81 kB / 488.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.1091, allocations: 135 kB / 488.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1091, allocations: 4 kB / 488.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1091, allocations: 0 / 488.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1091, allocations: 7.875 kB / 488.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/0.1096, allocations: 403.7 kB / 489.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.1096, allocations: 4 kB / 489.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.127e-05/0.1097, allocations: 23.98 kB / 489.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1097, allocations: 3.938 kB / 489.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.1097, allocations: 4.031 kB / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1098, allocations: 0 / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1098, allocations: 4 kB / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.11, allocations: 224.2 kB / 489.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.1101, allocations: 92.94 kB / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.1101, allocations: 4 kB / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.1102, allocations: 4 kB / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.1102, allocations: 11.98 kB / 489.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.1102, allocations: 0 / 489.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.1104, allocations: 157.8 kB / 489.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1104, allocations: 0 / 489.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.1106, allocations: 16 kB / 489.8 MB, free: 13.74 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001002/0.1116, allocations: 455.7 kB / 490.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.1119, allocations: 75.89 kB / 490.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1119, allocations: 0 / 490.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.159e-05/0.112, allocations: 39.92 kB / 490.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.1123, allocations: 30.67 kB / 490.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.1128, allocations: 304.2 kB / 490.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.1131, allocations: 0.7059 MB / 491.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.1131, allocations: 23.42 kB / 491.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1131, allocations: 0 / 491.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of Templates: time 0.003317/0.1164, allocations: 1.706 MB / 493.1 MB, free: 10.52 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches