Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 109.2 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.001354/0.001354, 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.345/1.345, allocations: 227.4 MB / 246.9 MB, free: 8.871 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2078/0.2078, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 76.53 kB / 417.5 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1131, allocations: 62.45 MB / 479.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003312/0.1164, allocations: 1.7 MB / 481.6 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1175, allocations: 0.5573 MB / 482.2 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.1176, allocations: 0 / 482.2 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.1179, allocations: 83.75 kB / 482.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.1182, allocations: 99.75 kB / 482.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.1185, allocations: 75.86 kB / 482.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.1187, allocations: 103.7 kB / 482.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1188, allocations: 19.98 kB / 482.6 MB, free: 3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.444e-05/0.1189, allocations: 35.84 kB / 482.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.119, allocations: 67.73 kB / 482.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.119, allocations: 4 kB / 482.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1191, allocations: 47.98 kB / 482.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.1192, allocations: 31.8 kB / 482.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.1192, allocations: 39.67 kB / 482.8 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.1194, allocations: 96.14 kB / 482.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1194, allocations: 0 / 482.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1194, allocations: 0 / 482.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1194, allocations: 0 / 482.9 MB, free: 2.684 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004975/0.1199, allocations: 430.9 kB / 483.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1199, allocations: 8.031 kB / 483.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.12, allocations: 16.75 kB / 483.3 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.1202, allocations: 208.5 kB / 483.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1202, allocations: 8.375 kB / 483.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.1203, allocations: 8.359 kB / 483.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.1204, allocations: 73.73 kB / 483.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1205, allocations: 0 / 483.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1205, allocations: 0 / 483.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1205, allocations: 0 / 483.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.1206, allocations: 39.97 kB / 483.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.121, allocations: 344.5 kB / 484 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.1212, allocations: 58.56 kB / 484.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.1212, allocations: 24.84 kB / 484.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1213, allocations: 3.938 kB / 484.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.1213, allocations: 34.56 kB / 484.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1213, allocations: 0 / 484.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001051/0.1223, allocations: 313.4 kB / 484.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.1224, allocations: 55.41 kB / 484.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.1227, allocations: 239.6 kB / 484.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1227, allocations: 29.64 kB / 484.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.1227, allocations: 108.1 kB / 484.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.1228, allocations: 43.36 kB / 484.9 MB, free: 488 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.1228, allocations: 29.7 kB / 484.9 MB, free: 452 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.123, allocations: 326.8 kB / 485.2 MB, free: 116 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-05/0.1231, allocations: 27.98 kB / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.735e-05/0.1232, allocations: 55.84 kB / 485.3 MB, free: 36 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.1234, allocations: 92.77 kB / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1234, allocations: 0 / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002472/0.1236, allocations: 129.5 kB / 485.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1237, allocations: 8 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1237, allocations: 0 / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.1237, allocations: 7.938 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1238, allocations: 35.91 kB / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1238, allocations: 4 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.1239, allocations: 0 / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.1239, allocations: 7.938 kB / 485.6 MB, free: 15.75 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 (13): * Single equations (assignments): 13 * 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 0.0001044/0.124, allocations: 137.8 kB / 485.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.1241, allocations: 11.81 kB / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/0.1244, allocations: 167.1 kB / 485.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1244, allocations: 11.88 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1244, allocations: 0 / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1244, allocations: 0 / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006149/0.1251, allocations: 495 kB / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1251, allocations: 0 / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.1252, allocations: 23.98 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1252, allocations: 0 / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1252, allocations: 4 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1252, allocations: 0 / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1252, allocations: 0 / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.1256, allocations: 255.4 kB / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.1256, allocations: 88.92 kB / 486.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.1256, allocations: 4 kB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.1257, allocations: 7.984 kB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.1258, allocations: 11.98 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.1258, allocations: 8 kB / 486.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1259, allocations: 177.2 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1259, allocations: 0 / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.1262, allocations: 35.98 kB / 487 MB, free: 14.23 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 (13): * Single equations (assignments): 13 * 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.001076/0.1273, allocations: 452.7 kB / 487.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.1276, allocations: 91.95 kB / 487.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.1276, allocations: 4 kB / 487.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.1277, allocations: 55.91 kB / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.1281, allocations: 23.92 kB / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/0.1287, allocations: 379.3 kB / 488 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.129, allocations: 0.7239 MB / 488.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.1291, allocations: 15.44 kB / 488.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1291, allocations: 0 / 488.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of Templates: time 0.004304/0.1334, allocations: 2.054 MB / 490.8 MB, free: 10.55 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches