Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001397/0.001397, allocations: 108.2 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001622/0.001622, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 76.78 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1159, allocations: 62.45 MB / 479.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003069/0.119, allocations: 1.669 MB / 481.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000964/0.12, allocations: 0.5417 MB / 481.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.047e-05/0.1201, allocations: 0 / 481.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.1204, allocations: 123.7 kB / 481.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.1208, allocations: 111.8 kB / 481.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.1212, allocations: 107.1 kB / 482 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.1214, allocations: 95.8 kB / 482.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1215, allocations: 15.98 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1216, allocations: 51.81 kB / 482.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.1218, allocations: 79.8 kB / 482.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.1218, allocations: 8 kB / 482.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1219, allocations: 43.98 kB / 482.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.11e-05/0.122, allocations: 35.78 kB / 482.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.505e-05/0.122, allocations: 43.67 kB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.1222, allocations: 119.6 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1223, allocations: 0 / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1223, allocations: 0 / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1223, allocations: 0 / 482.5 MB, free: 2.559 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.0005065/0.1228, allocations: 431.1 kB / 482.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1228, allocations: 12.03 kB / 482.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.1229, allocations: 16.75 kB / 483 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.1231, allocations: 204 kB / 483.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1231, allocations: 8.375 kB / 483.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.1231, allocations: 4.359 kB / 483.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1233, allocations: 57.75 kB / 483.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1233, allocations: 0 / 483.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1233, allocations: 4 kB / 483.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1233, allocations: 0 / 483.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1235, allocations: 31.97 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.1239, allocations: 316.6 kB / 483.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.124, allocations: 46.5 kB / 483.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.1241, allocations: 16.94 kB / 483.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1241, allocations: 4 kB / 483.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1241, allocations: 42.56 kB / 483.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1241, allocations: 0 / 483.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009653/0.1251, allocations: 245 kB / 483.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.1252, allocations: 63.39 kB / 484 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.1254, allocations: 283.7 kB / 484.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1255, allocations: 25.7 kB / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.1255, allocations: 120.1 kB / 484.4 MB, free: 480 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.1256, allocations: 27.61 kB / 484.4 MB, free: 452 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.1256, allocations: 21.66 kB / 484.4 MB, free: 424 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1257, allocations: 326.8 kB / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.858e-05/0.1258, allocations: 35.97 kB / 484.8 MB, free: 52 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.503e-05/0.1259, allocations: 28.06 kB / 484.8 MB, free: 24 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.1261, allocations: 77.03 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1261, allocations: 0 / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002326/0.1264, allocations: 109.6 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1264, allocations: 10.66 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1264, allocations: 0 / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1264, allocations: 4 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1265, allocations: 19.92 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1266, allocations: 0 / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.868e-05/0.1266, allocations: 11.92 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1266, allocations: 4 kB / 485.1 MB, free: 15.78 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.0001076/0.1267, allocations: 133.8 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.1268, allocations: 15.81 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.1271, allocations: 142.9 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1271, allocations: 0 / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1271, allocations: 3.938 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1272, allocations: 7.875 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005616/0.1277, allocations: 431.2 kB / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1277, allocations: 4.031 kB / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-05/0.1278, allocations: 15.98 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.1278, allocations: 7.938 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.1279, allocations: 0 / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1279, allocations: 0 / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1279, allocations: 3.984 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.1281, allocations: 220.1 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.1282, allocations: 92.86 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.1282, allocations: 4 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.1283, allocations: 11.98 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/0.1284, allocations: 4 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.1284, allocations: 4 kB / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001809/0.1286, allocations: 205.5 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1286, allocations: 0 / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.1289, allocations: 24 kB / 486.4 MB, free: 14.37 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.001097/0.13, allocations: 456 kB / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.1303, allocations: 83.88 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1303, allocations: 0 / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.922e-05/0.1304, allocations: 39.92 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.1308, allocations: 20.17 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.1314, allocations: 352.3 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.1317, allocations: 0.7293 MB / 488 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.766e-05/0.1318, allocations: 20.91 kB / 488 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.1318, allocations: 15.42 kB / 488.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1319, allocations: 4 kB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Templates: time 0.004116/0.136, allocations: 1.395 MB / 489.5 MB, free: 11.38 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches