Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001228/0.001227, 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.001292/0.001292, 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.26/1.26, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1958/0.1958, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 77.91 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.1005, allocations: 62.43 MB / 481.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002934/0.1035, allocations: 1.614 MB / 483.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1051, allocations: 1.152 MB / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.296e-05/0.1051, allocations: 3.938 kB / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.1053, allocations: 19.86 kB / 484.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.1056, allocations: 83.61 kB / 484.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.1058, allocations: 91.7 kB / 484.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.1059, allocations: 63.89 kB / 484.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.457e-05/0.106, allocations: 15.92 kB / 484.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.515e-05/0.1061, allocations: 31.84 kB / 484.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.1062, allocations: 31.84 kB / 484.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.1063, allocations: 4 kB / 484.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.1064, allocations: 103.9 kB / 484.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.924e-05/0.1065, allocations: 11.98 kB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.1065, allocations: 27.8 kB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1067, allocations: 139.7 kB / 484.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1067, allocations: 0 / 484.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1067, allocations: 0 / 484.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1067, allocations: 0 / 484.8 MB, free: 1.133 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.0004159/0.1072, allocations: 395.1 kB / 485.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1072, allocations: 12.03 kB / 485.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.1072, allocations: 4.875 kB / 485.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1074, allocations: 204.1 kB / 485.4 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-06/0.1075, allocations: 384 / 485.4 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.1075, allocations: 4.375 kB / 485.4 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.1076, allocations: 71.52 kB / 485.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1076, allocations: 4 kB / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1076, allocations: 0 / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1077, allocations: 0 / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.168e-05/0.1077, allocations: 23.92 kB / 485.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.1081, allocations: 280.9 kB / 485.8 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.1083, allocations: 38.64 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.1083, allocations: 20.94 kB / 485.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.1083, allocations: 0 / 485.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1084, allocations: 30.56 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1084, allocations: 3.938 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004809/0.1089, allocations: 141.3 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.1089, allocations: 81.05 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.1091, allocations: 155.9 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.1091, allocations: 29.7 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.1091, allocations: 88.14 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.1092, allocations: 19.66 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.1092, allocations: 25.7 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1093, allocations: 322.8 kB / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.958e-05/0.1094, allocations: 11.98 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.715e-05/0.1094, allocations: 41.75 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.1096, allocations: 40.84 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1096, allocations: 4.031 kB / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001715/0.1097, allocations: 81.66 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1098, allocations: 7.938 kB / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1098, allocations: 0 / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.1098, allocations: 4 kB / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.883e-05/0.1099, allocations: 11.98 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.1099, allocations: 0 / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/0.1099, allocations: 4 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1099, allocations: 7.938 kB / 487 MB, free: 14.76 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 (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 7.276e-05/0.11, allocations: 113.8 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.1101, allocations: 11.89 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.1103, allocations: 85.97 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1103, allocations: 3.938 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1103, allocations: 0 / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1103, allocations: 4 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.1107, allocations: 362.3 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1107, allocations: 0 / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.924e-05/0.1108, allocations: 12.3 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1108, allocations: 0 / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1108, allocations: 4 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1108, allocations: 7.938 kB / 487.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1108, allocations: 288 / 487.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.111, allocations: 183.4 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.1111, allocations: 81.09 kB / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.1111, allocations: 0 / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.1112, allocations: 15.86 kB / 487.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.1112, allocations: 8 kB / 487.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1112, allocations: 0 / 487.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.989e-05/0.1113, allocations: 118.1 kB / 487.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1113, allocations: 4 kB / 487.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.1116, allocations: 32 kB / 488 MB, free: 13.64 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.0009653/0.1125, allocations: 488.5 kB / 488.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.1127, allocations: 47.91 kB / 488.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1127, allocations: 0 / 488.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.607e-05/0.1128, allocations: 27.97 kB / 488.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.1131, allocations: 17.91 kB / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.1135, allocations: 169.4 kB / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.1137, allocations: 0.6885 MB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.091e-05/0.1138, allocations: 15.92 kB / 489.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.1138, allocations: 15.44 kB / 489.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1138, allocations: 4 kB / 489.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of Templates: time 0.003932/0.1178, allocations: 1.747 MB / 491.2 MB, free: 10.55 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches