Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001706/0.001706, allocations: 108 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002072/0.002072, allocations: 209.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2314/0.2314, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 81.8 kB / 417 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1171, allocations: 62.44 MB / 479.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003491/0.1207, allocations: 1.649 MB / 481.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1218, allocations: 0.5339 MB / 481.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.1219, allocations: 3.938 kB / 481.7 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.1222, allocations: 23.86 kB / 481.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.1225, allocations: 67.83 kB / 481.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.1229, allocations: 102.9 kB / 481.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.1231, allocations: 59.84 kB / 481.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1232, allocations: 12 kB / 481.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.985e-05/0.1233, allocations: 27.86 kB / 482 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.1234, allocations: 27.84 kB / 482 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.1234, allocations: 4 kB / 482 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.1236, allocations: 35.98 kB / 482 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.1236, allocations: 7.938 kB / 482 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.1237, allocations: 27.81 kB / 482.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.1239, allocations: 87.7 kB / 482.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1239, allocations: 0 / 482.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1239, allocations: 0 / 482.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1239, allocations: 0 / 482.1 MB, free: 2.961 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.0006245/0.1246, allocations: 383.4 kB / 482.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1246, allocations: 12.03 kB / 482.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.1247, allocations: 12.84 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1249, allocations: 186.6 kB / 482.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1249, allocations: 8.359 kB / 482.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.1249, allocations: 4.375 kB / 482.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.1251, allocations: 53.75 kB / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1251, allocations: 4 kB / 482.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1251, allocations: 0 / 482.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1252, allocations: 4 kB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.1253, allocations: 23.97 kB / 482.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.1257, allocations: 288.8 kB / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.126, allocations: 50.48 kB / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.576e-05/0.1261, allocations: 24.89 kB / 483.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.1261, allocations: 3.984 kB / 483.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.1261, allocations: 30.56 kB / 483.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1261, allocations: 0 / 483.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000772/0.1269, allocations: 153.3 kB / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.127, allocations: 51.41 kB / 483.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.1271, allocations: 173 kB / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1271, allocations: 25.7 kB / 483.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.1272, allocations: 96.14 kB / 483.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.1273, allocations: 19.73 kB / 483.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.1273, allocations: 17.72 kB / 483.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1275, allocations: 322.8 kB / 484 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.716e-05/0.1276, allocations: 23.92 kB / 484.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.1277, allocations: 23.98 kB / 484.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.1278, allocations: 52.77 kB / 484.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1278, allocations: 0 / 484.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002113/0.128, allocations: 85.56 kB / 484.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1281, allocations: 6.656 kB / 484.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1281, allocations: 0 / 484.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1281, allocations: 0 / 484.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.951e-05/0.1282, allocations: 23.98 kB / 484.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1282, allocations: 0 / 484.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1282, allocations: 7.938 kB / 484.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1283, allocations: 0 / 484.3 MB, free: 0.6172 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 8.898e-05/0.1283, allocations: 121.8 kB / 484.4 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.1284, allocations: 7.906 kB / 484.4 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.1287, allocations: 106.1 kB / 484.5 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1287, allocations: 0 / 484.5 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1287, allocations: 4.062 kB / 484.5 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1287, allocations: 3.938 kB / 484.5 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.1292, allocations: 350.5 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1293, allocations: 4 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.044e-05/0.1293, allocations: 11.98 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1293, allocations: 0 / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1294, allocations: 11.94 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1294, allocations: 3.938 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.1294, allocations: 7.984 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.1296, allocations: 175.4 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.1297, allocations: 85.02 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.1297, allocations: 3.938 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.1298, allocations: 11.98 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.1298, allocations: 8.219 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.1298, allocations: 4 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.13, allocations: 126.6 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.13, allocations: 0 / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1302, allocations: 16 kB / 485.3 MB, free: 15.47 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.00101/0.1313, allocations: 400.2 kB / 485.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.1315, allocations: 55.95 kB / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1315, allocations: 3.938 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/0.1316, allocations: 27.92 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.132, allocations: 15.98 kB / 485.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.1326, allocations: 222 kB / 486 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.1329, allocations: 0.6924 MB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.966e-05/0.133, allocations: 15.92 kB / 486.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.1331, allocations: 11.44 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1331, allocations: 0 / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of Templates: time 0.003842/0.1369, allocations: 1.113 MB / 487.8 MB, free: 13.01 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches