Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1915/0.1915, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 72.64 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.09576, allocations: 62.45 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002611/0.09841, allocations: 1.613 MB / 483.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008019/0.09922, allocations: 0.5376 MB / 483.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.09928, allocations: 0 / 483.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.09949, allocations: 75.78 kB / 483.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.09974, allocations: 103.6 kB / 483.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.09997, allocations: 91.69 kB / 483.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.1001, allocations: 71.89 kB / 483.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.904e-05/0.1002, allocations: 23.97 kB / 484 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.82e-05/0.1003, allocations: 43.78 kB / 484 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.553e-05/0.1003, allocations: 47.83 kB / 484 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.1004, allocations: 4 kB / 484.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.7e-05/0.1004, allocations: 43.98 kB / 484.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.1005, allocations: 19.92 kB / 484.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.1005, allocations: 31.73 kB / 484.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.1007, allocations: 95.72 kB / 484.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1007, allocations: 3.938 kB / 484.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1007, allocations: 0 / 484.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1007, allocations: 0 / 484.2 MB, free: 1.707 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.0003779/0.1011, allocations: 419 kB / 484.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.1011, allocations: 12.03 kB / 484.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.1012, allocations: 12.75 kB / 484.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.1013, allocations: 196.1 kB / 484.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-06/0.1013, allocations: 4.359 kB / 484.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1014, allocations: 4.375 kB / 484.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.1015, allocations: 57.8 kB / 484.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1015, allocations: 0 / 484.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.1015, allocations: 7.938 kB / 484.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1015, allocations: 0 / 484.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.1016, allocations: 23.98 kB / 485 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.1019, allocations: 292.8 kB / 485.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.212e-05/0.102, allocations: 46.5 kB / 485.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/0.1021, allocations: 20.94 kB / 485.3 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.1021, allocations: 4 kB / 485.3 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.1021, allocations: 30.56 kB / 485.4 MB, free: 448 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1021, allocations: 0 / 485.4 MB, free: 448 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007266/0.1029, allocations: 225 kB / 485.6 MB, free: 216 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.1029, allocations: 55.39 kB / 485.6 MB, free: 148 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1031, allocations: 203.3 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1031, allocations: 29.7 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.1032, allocations: 104.1 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.1032, allocations: 35.61 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.1032, allocations: 17.72 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.1033, allocations: 326.8 kB / 486.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.03e-05/0.1034, allocations: 27.97 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.1035, allocations: 28.05 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.1036, allocations: 64.77 kB / 486.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1036, allocations: 0 / 486.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001789/0.1038, allocations: 101.5 kB / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.1038, allocations: 8 kB / 486.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1038, allocations: 0 / 486.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.1038, allocations: 0 / 486.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.686e-05/0.1039, allocations: 19.98 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1039, allocations: 0 / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.148e-05/0.104, allocations: 11.92 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.104, allocations: 4 kB / 486.6 MB, free: 15.13 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 8.071e-05/0.1041, allocations: 125.8 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.1041, allocations: 19.8 kB / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.1044, allocations: 115 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1044, allocations: 0 / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1044, allocations: 3.984 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.1044, allocations: 4.359 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.1048, allocations: 395.3 kB / 487.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1048, allocations: 4.031 kB / 487.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.69e-05/0.1049, allocations: 27.92 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1049, allocations: 3.938 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1049, allocations: 0 / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1049, allocations: 4 kB / 487.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1049, allocations: 0 / 487.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.1052, allocations: 212.5 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.1052, allocations: 84.95 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1052, allocations: 4 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.1053, allocations: 8 kB / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.1053, allocations: 7.922 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1053, allocations: 4 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.1055, allocations: 151.9 kB / 487.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1055, allocations: 4 kB / 487.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1057, allocations: 20 kB / 487.8 MB, free: 13.85 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.0008832/0.1066, allocations: 461.4 kB / 488.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.1068, allocations: 63.95 kB / 488.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1068, allocations: 3.938 kB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.942e-05/0.1069, allocations: 35.98 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.1072, allocations: 22.08 kB / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.1076, allocations: 247.1 kB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.1078, allocations: 0.7119 MB / 489.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.697e-05/0.1079, allocations: 4.984 kB / 489.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.1079, allocations: 23.38 kB / 489.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1079, allocations: 0 / 489.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of Templates: time 0.003316/0.1112, allocations: 1.354 MB / 490.7 MB, free: 11.05 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches