Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 46.1 MB / 344.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 83.8 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1178, allocations: 62.44 MB / 480 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003347/0.1212, allocations: 1.616 MB / 481.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1223, allocations: 0.5494 MB / 482.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.1224, allocations: 0 / 482.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.1227, allocations: 99.67 kB / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.123, allocations: 103.6 kB / 482.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.1233, allocations: 115.4 kB / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.1235, allocations: 83.81 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1236, allocations: 19.98 kB / 482.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.058e-05/0.1237, allocations: 43.83 kB / 482.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.1238, allocations: 51.83 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1238, allocations: 0 / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.465e-05/0.1239, allocations: 47.98 kB / 482.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.124, allocations: 19.92 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.124, allocations: 35.67 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.1242, allocations: 111.7 kB / 482.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1242, allocations: 3.984 kB / 482.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1242, allocations: 0 / 482.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1243, allocations: 3.938 kB / 482.9 MB, free: 2.359 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.0004781/0.1247, allocations: 423 kB / 483.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1248, allocations: 8.031 kB / 483.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.1248, allocations: 20.75 kB / 483.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.125, allocations: 196.1 kB / 483.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.125, allocations: 4.375 kB / 483.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.1251, allocations: 8.375 kB / 483.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.1252, allocations: 57.8 kB / 483.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1252, allocations: 0 / 483.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1252, allocations: 0 / 483.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1253, allocations: 4 kB / 483.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.886e-05/0.1254, allocations: 31.91 kB / 483.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.1258, allocations: 312.7 kB / 483.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.465e-05/0.1259, allocations: 38.56 kB / 484 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.126, allocations: 24.88 kB / 484 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.126, allocations: 0 / 484 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.126, allocations: 34.56 kB / 484 MB, free: 1.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.126, allocations: 0 / 484 MB, free: 1.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009071/0.1269, allocations: 241.3 kB / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.127, allocations: 51.41 kB / 484.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.1272, allocations: 235.1 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1272, allocations: 25.7 kB / 484.6 MB, free: 496 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.1273, allocations: 112.1 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.1274, allocations: 31.55 kB / 484.7 MB, free: 348 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.1274, allocations: 17.72 kB / 484.7 MB, free: 324 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1276, allocations: 322.8 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.615e-05/0.1277, allocations: 31.97 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.86e-05/0.1277, allocations: 32.08 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.1279, allocations: 84.73 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1279, allocations: 0 / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002349/0.1282, allocations: 105.9 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1282, allocations: 7.938 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1282, allocations: 0 / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1282, allocations: 3.984 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.774e-05/0.1283, allocations: 23.98 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1283, allocations: 4.062 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.1284, allocations: 15.94 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.1284, allocations: 3.984 kB / 485.4 MB, free: 15.68 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 0.0001/0.1285, allocations: 134.8 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.1285, allocations: 15.8 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.1288, allocations: 123 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1288, allocations: 0 / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1289, allocations: 3.938 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1289, allocations: 11.94 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.1294, allocations: 427.2 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1294, allocations: 0 / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.519e-05/0.1295, allocations: 16 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.1295, allocations: 11.86 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.1295, allocations: 0 / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.1295, allocations: 8.031 kB / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1295, allocations: 0 / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.1298, allocations: 212.3 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.1299, allocations: 92.86 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.1299, allocations: 3.984 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.13, allocations: 8 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.13, allocations: 11.98 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.13, allocations: 0 / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.1302, allocations: 175.2 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1302, allocations: 0 / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1304, allocations: 27.98 kB / 486.6 MB, free: 14.31 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.0009927/0.1314, allocations: 448.4 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.1317, allocations: 79.94 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.1317, allocations: 4 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.581e-05/0.1318, allocations: 36.08 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1321, allocations: 31.52 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005112/0.1327, allocations: 286.9 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1329, allocations: 0.7196 MB / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.504e-05/0.133, allocations: 20.66 kB / 488.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.1331, allocations: 11.44 kB / 488.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1331, allocations: 0 / 488.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of Templates: time 0.004053/0.1371, allocations: 1.395 MB / 489.6 MB, free: 11.4 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches