Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001704/0.001703, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002211/0.002211, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.9 MB, free: 9.012 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.211/0.211, allocations: 46.1 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 76.72 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1036, allocations: 62.45 MB / 479.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003118/0.1067, allocations: 1.641 MB / 481.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009311/0.1077, allocations: 0.5301 MB / 482.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.1078, allocations: 3.938 kB / 482.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.108, allocations: 31.83 kB / 482.1 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.1082, allocations: 59.83 kB / 482.2 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.1085, allocations: 83.59 kB / 482.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.1086, allocations: 59.84 kB / 482.3 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.656e-05/0.1087, allocations: 19.92 kB / 482.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.275e-05/0.1088, allocations: 19.92 kB / 482.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.1088, allocations: 23.8 kB / 482.4 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1088, allocations: 4 kB / 482.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.667e-05/0.1089, allocations: 27.98 kB / 482.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.109, allocations: 23.91 kB / 482.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.109, allocations: 19.81 kB / 482.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.1092, allocations: 63.92 kB / 482.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1092, allocations: 0 / 482.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1092, allocations: 0 / 482.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1092, allocations: 0 / 482.5 MB, free: 3.062 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.0004231/0.1096, allocations: 391.4 kB / 482.9 MB, free: 2.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1096, allocations: 8.875 kB / 482.9 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.1097, allocations: 12.78 kB / 482.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.1099, allocations: 204.7 kB / 483.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.1099, allocations: 384 / 483.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.1099, allocations: 3.938 kB / 483.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.11, allocations: 53.67 kB / 483.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1101, allocations: 7.906 kB / 483.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.1101, allocations: 0 / 483.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1101, allocations: 0 / 483.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.772e-05/0.1102, allocations: 23.98 kB / 483.2 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.1105, allocations: 276.9 kB / 483.5 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.1107, allocations: 42.5 kB / 483.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/0.1108, allocations: 16.94 kB / 483.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1108, allocations: 4 kB / 483.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.1108, allocations: 30.56 kB / 483.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1108, allocations: 4 kB / 483.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005218/0.1114, allocations: 141.5 kB / 483.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.1114, allocations: 55.39 kB / 483.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.1116, allocations: 182.4 kB / 484 MB, free: 1.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1116, allocations: 25.7 kB / 484 MB, free: 1.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.1117, allocations: 100 kB / 484.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.1117, allocations: 19.75 kB / 484.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.1117, allocations: 17.72 kB / 484.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1118, allocations: 322.8 kB / 484.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.839e-05/0.1119, allocations: 19.98 kB / 484.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-05/0.112, allocations: 19.92 kB / 484.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1121, allocations: 48.77 kB / 484.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1121, allocations: 4 kB / 484.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001738/0.1123, allocations: 77.58 kB / 484.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1123, allocations: 8 kB / 484.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1123, allocations: 0 / 484.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1123, allocations: 0 / 484.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.134e-05/0.1124, allocations: 11.98 kB / 484.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1124, allocations: 3.984 kB / 484.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.364e-05/0.1125, allocations: 15.92 kB / 484.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.1125, allocations: 11.94 kB / 484.7 MB, free: 0.7148 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 7.295e-05/0.1126, allocations: 117.8 kB / 484.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.1126, allocations: 7.906 kB / 484.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.1128, allocations: 86.22 kB / 484.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1128, allocations: 4 kB / 484.9 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.1128, allocations: 8.047 kB / 484.9 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1129, allocations: 3.938 kB / 484.9 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.1132, allocations: 350.5 kB / 485.2 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1133, allocations: 0 / 485.2 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.1133, allocations: 15.98 kB / 485.2 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1133, allocations: 0 / 485.2 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.1133, allocations: 7.938 kB / 485.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1133, allocations: 0 / 485.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1133, allocations: 0 / 485.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.1136, allocations: 191.3 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.1136, allocations: 81.02 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.1137, allocations: 3.938 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.1137, allocations: 7.984 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.1138, allocations: 4 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.1138, allocations: 0 / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.741e-05/0.1139, allocations: 138.5 kB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1139, allocations: 4 kB / 485.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.1141, allocations: 15.98 kB / 485.7 MB, free: 15.59 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.0008444/0.115, allocations: 397.4 kB / 486.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.1152, allocations: 43.97 kB / 486.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1152, allocations: 0 / 486.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.442e-05/0.1152, allocations: 31.92 kB / 486.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.1155, allocations: 19.92 kB / 486.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.116, allocations: 237.4 kB / 486.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.1162, allocations: 0.7004 MB / 487.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.1162, allocations: 15.44 kB / 487.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1163, allocations: 0 / 487.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of Templates: time 0.002861/0.1191, allocations: 1.468 MB / 488.6 MB, free: 12.76 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches