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.001043/0.001043, allocations: 117 kB / 18.41 MB, free: 4.688 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: 208.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1921/0.1921, allocations: 46.12 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 75.14 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.09326, allocations: 62.45 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002654/0.09594, allocations: 1.638 MB / 483.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008315/0.09679, allocations: 0.5415 MB / 483.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.09685, allocations: 0 / 483.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.09709, allocations: 99.73 kB / 483.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.09736, allocations: 111.6 kB / 483.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.09759, allocations: 95.69 kB / 484 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.09775, allocations: 103.7 kB / 484.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.379e-05/0.09785, allocations: 16 kB / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.113e-05/0.09791, allocations: 47.83 kB / 484.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.697e-05/0.098, allocations: 63.8 kB / 484.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.09803, allocations: 8 kB / 484.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.876e-05/0.09811, allocations: 43.98 kB / 484.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.09817, allocations: 35.84 kB / 484.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.09822, allocations: 39.69 kB / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.09839, allocations: 127.5 kB / 484.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.0984, allocations: 0 / 484.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09841, allocations: 4 kB / 484.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.09842, allocations: 0 / 484.4 MB, free: 1.539 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.0004026/0.09882, allocations: 426.9 kB / 484.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.09886, allocations: 12.03 kB / 484.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.0989, allocations: 12.75 kB / 484.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.09907, allocations: 215.9 kB / 485.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.09909, allocations: 4.375 kB / 485.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.09912, allocations: 8.375 kB / 485.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.09927, allocations: 73.72 kB / 485.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.09929, allocations: 3.984 kB / 485.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.0993, allocations: 8 kB / 485.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.09931, allocations: 0 / 485.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.09942, allocations: 39.97 kB / 485.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.09979, allocations: 336.6 kB / 485.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.09992, allocations: 58.56 kB / 485.6 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.987e-05/0.09998, allocations: 24.84 kB / 485.6 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1, allocations: 4 kB / 485.6 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.1, allocations: 34.72 kB / 485.7 MB, free: 144 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1, allocations: 0 / 485.7 MB, free: 144 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009058/0.101, allocations: 313.3 kB / 486 MB, free: 15.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.101, allocations: 55.41 kB / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.1012, allocations: 235.5 kB / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1012, allocations: 37.7 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.1013, allocations: 104.1 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.1013, allocations: 47.27 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.1014, allocations: 29.7 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.351e-05/0.1015, allocations: 326.8 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-05/0.1015, allocations: 31.98 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.632e-05/0.1016, allocations: 39.34 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.1018, allocations: 100.8 kB / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.1018, allocations: 0 / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002338/0.1021, allocations: 133.4 kB / 487.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1021, allocations: 4 kB / 487.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1021, allocations: 0 / 487.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1021, allocations: 7.938 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1022, allocations: 23.98 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1022, allocations: 7.984 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.1023, allocations: 8 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1023, allocations: 4 kB / 487.1 MB, free: 14.6 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 8.785e-05/0.1024, allocations: 133.8 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.1024, allocations: 15.81 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.1027, allocations: 163.1 kB / 487.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1028, allocations: 3.938 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1028, allocations: 4 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1028, allocations: 0 / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/0.1033, allocations: 487 kB / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1033, allocations: 0 / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.388e-05/0.1034, allocations: 27.98 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1034, allocations: 0 / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.1034, allocations: 4 kB / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1034, allocations: 11.97 kB / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1034, allocations: 0 / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.1037, allocations: 247.6 kB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.1038, allocations: 88.92 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.1038, allocations: 4 kB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.913e-05/0.1039, allocations: 15.98 kB / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.1039, allocations: 7.984 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.1039, allocations: 4 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1041, allocations: 177.2 kB / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1041, allocations: 0 / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.1043, allocations: 31.98 kB / 488.5 MB, free: 13.09 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.0009112/0.1052, allocations: 450.9 kB / 489 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.1055, allocations: 95.89 kB / 489.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1055, allocations: 0 / 489.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.1056, allocations: 55.97 kB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.1059, allocations: 27.92 kB / 489.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004655/0.1064, allocations: 307.8 kB / 489.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.1066, allocations: 0.7158 MB / 490.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.52e-05/0.1067, allocations: 24.48 kB / 490.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.1067, allocations: 19.42 kB / 490.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1067, allocations: 0 / 490.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of Templates: time 0.003622/0.1104, allocations: 1.55 MB / 491.8 MB, free: 9.973 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 -s gbode -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