Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, 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.00112/0.00112, 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.357/1.357, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2125/0.2125, allocations: 46.11 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 80.16 kB / 417.6 MB, free: 19.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1158, allocations: 62.44 MB / 480 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003052/0.1189, allocations: 1.595 MB / 481.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009742/0.1199, allocations: 0.5494 MB / 482.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.917e-05/0.12, allocations: 0 / 482.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.1202, allocations: 35.77 kB / 482.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.1205, allocations: 71.64 kB / 482.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1207, allocations: 91.75 kB / 482.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.1209, allocations: 75.81 kB / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.339e-05/0.121, allocations: 16 kB / 482.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.108e-05/0.1211, allocations: 23.86 kB / 482.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.463e-05/0.1211, allocations: 35.84 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.1212, allocations: 4 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.1214, allocations: 103.9 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.341e-05/0.1214, allocations: 11.94 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.1215, allocations: 23.86 kB / 482.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.1218, allocations: 151.6 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1218, allocations: 0 / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1218, allocations: 0 / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1218, allocations: 4 kB / 482.8 MB, free: 2.523 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005197/0.1223, allocations: 415.3 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1224, allocations: 8.031 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.1224, allocations: 8.844 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.1227, allocations: 194.8 kB / 483.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1227, allocations: 384 / 483.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.1227, allocations: 4.375 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1229, allocations: 75.45 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1229, allocations: 0 / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1229, allocations: 4 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1229, allocations: 3.984 kB / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.123, allocations: 35.91 kB / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.1235, allocations: 300.7 kB / 483.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.1236, allocations: 66.5 kB / 483.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.333e-05/0.1237, allocations: 24.97 kB / 483.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1237, allocations: 4 kB / 483.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.1237, allocations: 34.56 kB / 484 MB, free: 1.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1238, allocations: 0 / 484 MB, free: 1.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006717/0.1244, allocations: 185.2 kB / 484.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.1245, allocations: 81.11 kB / 484.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.1247, allocations: 156.5 kB / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1247, allocations: 25.7 kB / 484.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1248, allocations: 92.14 kB / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.1248, allocations: 35.53 kB / 484.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.1249, allocations: 17.72 kB / 484.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.125, allocations: 330.8 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.135e-05/0.1251, allocations: 35.92 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1252, allocations: 49.62 kB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.1254, allocations: 68.81 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1254, allocations: 0 / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000255/0.1257, allocations: 117.5 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1257, allocations: 4.281 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1257, allocations: 0 / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1257, allocations: 0 / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1259, allocations: 27.92 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1259, allocations: 0 / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.126, allocations: 7.984 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.126, allocations: 4 kB / 485.2 MB, free: 15.92 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 (9): * Single equations (assignments): 9 * 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.31e-05/0.1261, allocations: 125.7 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.1261, allocations: 7.906 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.1264, allocations: 114.4 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1264, allocations: 0 / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1264, allocations: 0 / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1264, allocations: 0 / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.1269, allocations: 414.4 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.127, allocations: 0 / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.156e-05/0.127, allocations: 15.98 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.127, allocations: 0 / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1271, allocations: 7.938 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1271, allocations: 0 / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1271, allocations: 384 / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.1273, allocations: 199.4 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.1274, allocations: 89 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1274, allocations: 11.94 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/0.1275, allocations: 4 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.1275, allocations: 7.984 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.1275, allocations: 0 / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.1276, allocations: 125.5 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1276, allocations: 4 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.1279, allocations: 39.92 kB / 486.3 MB, free: 14.67 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 (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.001106/0.1291, allocations: 0.4895 MB / 486.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.1293, allocations: 71.89 kB / 486.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.1294, allocations: 4 kB / 486.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.448e-05/0.1295, allocations: 43.89 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1298, allocations: 27.3 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.1302, allocations: 189.9 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1305, allocations: 0.7041 MB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.037e-05/0.1306, allocations: 16.42 kB / 487.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.1307, allocations: 23.42 kB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1307, allocations: 0 / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of Templates: time 0.004645/0.1353, allocations: 1.954 MB / 489.8 MB, free: 11.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches