Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009621/0.000962, allocations: 95.25 kB / 18.01 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.001322/0.001322, allocations: 207.7 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1909/0.1909, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002403/0.0002403, allocations: 8 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1018, allocations: 63.57 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.001747/0.1035, allocations: 1.322 MB / 485.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008637/0.1044, allocations: 0.534 MB / 485.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.1045, allocations: 4 kB / 485.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.1047, allocations: 71.84 kB / 485.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.1049, allocations: 95.7 kB / 485.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.1052, allocations: 99.31 kB / 485.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.1053, allocations: 75.88 kB / 485.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.69e-05/0.1054, allocations: 16 kB / 485.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.861e-05/0.1055, allocations: 35.78 kB / 486 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.168e-05/0.1056, allocations: 55.81 kB / 486 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.1056, allocations: 0 / 486 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.872e-05/0.1057, allocations: 39.98 kB / 486.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.622e-05/0.1058, allocations: 23.92 kB / 486.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.1058, allocations: 53.44 kB / 486.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.1059, allocations: 75.88 kB / 486.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.106, allocations: 0 / 486.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.106, allocations: 0 / 486.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.106, allocations: 7.938 kB / 486.2 MB, free: 1.652 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.0004061/0.1064, allocations: 399.4 kB / 486.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.1064, allocations: 8.875 kB / 486.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.1065, allocations: 12.75 kB / 486.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1066, allocations: 202.7 kB / 486.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1067, allocations: 8.375 kB / 486.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1067, allocations: 384 / 486.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.1068, allocations: 61.8 kB / 486.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1068, allocations: 0 / 486.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1069, allocations: 4 kB / 486.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1069, allocations: 4 kB / 486.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.969e-05/0.107, allocations: 31.91 kB / 486.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.1073, allocations: 308.7 kB / 487.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1075, allocations: 50.55 kB / 487.3 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/0.1075, allocations: 16.86 kB / 487.3 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.1075, allocations: 0 / 487.3 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1076, allocations: 42.58 kB / 487.4 MB, free: 372 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1076, allocations: 4 kB / 487.4 MB, free: 368 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008576/0.1084, allocations: 265.5 kB / 487.6 MB, free: 96 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1085, allocations: 55.34 kB / 487.7 MB, free: 28 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.1087, allocations: 214.7 kB / 487.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1087, allocations: 37.64 kB / 487.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.1088, allocations: 104.1 kB / 488 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.1088, allocations: 27.64 kB / 488.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.1089, allocations: 9.719 kB / 488.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.109, allocations: 326.8 kB / 488.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.639e-05/0.1091, allocations: 35.98 kB / 488.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.877e-05/0.1092, allocations: 35.97 kB / 488.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.1094, allocations: 81.05 kB / 488.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1094, allocations: 7.922 kB / 488.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002297/0.1097, allocations: 125.5 kB / 488.7 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1097, allocations: 8 kB / 488.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1097, allocations: 0 / 488.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1097, allocations: 4 kB / 488.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.498e-05/0.1098, allocations: 19.98 kB / 488.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1098, allocations: 0 / 488.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.1099, allocations: 7.984 kB / 488.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.1099, allocations: 11.98 kB / 488.7 MB, free: 14.95 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.413e-05/0.11, allocations: 129.8 kB / 488.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.11, allocations: 11.91 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.1103, allocations: 146.9 kB / 489 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1103, allocations: 4 kB / 489 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1103, allocations: 0 / 489 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1103, allocations: 3.938 kB / 489 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.1109, allocations: 431.3 kB / 489.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1109, allocations: 0 / 489.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.142e-05/0.111, allocations: 19.98 kB / 489.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.111, allocations: 3.938 kB / 489.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.111, allocations: 4 kB / 489.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.111, allocations: 3.938 kB / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.111, allocations: 0 / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.1113, allocations: 224.2 kB / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.1113, allocations: 88.95 kB / 489.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.1113, allocations: 4 kB / 489.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/0.1114, allocations: 11.98 kB / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.1115, allocations: 4 kB / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1115, allocations: 7.938 kB / 489.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1116, allocations: 172.7 kB / 490 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1116, allocations: 0 / 490 MB, free: 13.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.1119, allocations: 24 kB / 490 MB, free: 13.57 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.000943/0.1128, allocations: 447.8 kB / 490.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.113, allocations: 79.95 kB / 490.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1131, allocations: 0 / 490.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.937e-05/0.1132, allocations: 51.97 kB / 490.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1135, allocations: 19.94 kB / 490.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.114, allocations: 335.8 kB / 490.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.1143, allocations: 0.7121 MB / 491.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.1143, allocations: 19.42 kB / 491.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1143, allocations: 0 / 491.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of Templates: time 0.003163/0.1175, allocations: 1.792 MB / 493.4 MB, free: 10.22 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches