Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007718/0.0007718, allocations: 95.25 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008657/0.0008658, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.7 MB / 247.5 MB, free: 9.504 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1945/0.1945, allocations: 46.19 MB / 345.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002304/0.0002303, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.09951, allocations: 63.56 MB / 483.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.001884/0.1014, allocations: 1.314 MB / 485 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.103, allocations: 1.125 MB / 486.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.547e-05/0.1031, allocations: 3.938 kB / 486.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.1033, allocations: 27.91 kB / 486.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.1035, allocations: 75.75 kB / 486.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1038, allocations: 99.06 kB / 486.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1039, allocations: 59.84 kB / 486.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.104, allocations: 4 kB / 486.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.145e-05/0.1041, allocations: 31.84 kB / 486.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.1042, allocations: 23.86 kB / 486.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.1042, allocations: 8 kB / 486.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.1044, allocations: 91.88 kB / 486.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.1045, allocations: 7.984 kB / 486.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.1045, allocations: 53.48 kB / 486.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.1047, allocations: 103.9 kB / 486.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1047, allocations: 0 / 486.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1047, allocations: 0 / 486.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1047, allocations: 0 / 486.7 MB, free: 1.113 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.0005158/0.1053, allocations: 391.5 kB / 487.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1053, allocations: 12.88 kB / 487.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.1054, allocations: 16.84 kB / 487.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.1056, allocations: 195.3 kB / 487.3 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.495e-06/0.1056, allocations: 384 / 487.3 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.1056, allocations: 4.375 kB / 487.3 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.1058, allocations: 67.52 kB / 487.4 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1058, allocations: 0 / 487.4 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1058, allocations: 8 kB / 487.4 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1058, allocations: 0 / 487.4 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.571e-05/0.1059, allocations: 27.92 kB / 487.5 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.1063, allocations: 292.8 kB / 487.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1065, allocations: 46.56 kB / 487.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.1066, allocations: 20.94 kB / 487.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1066, allocations: 3.984 kB / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.1066, allocations: 34.5 kB / 487.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 2.474e-06/0.1066, allocations: 3.938 kB / 487.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005743/0.1072, allocations: 177.2 kB / 488 MB, free: 15.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.1073, allocations: 77.11 kB / 488.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.1074, allocations: 152.2 kB / 488.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1074, allocations: 25.7 kB / 488.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.1075, allocations: 96.05 kB / 488.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.1075, allocations: 15.8 kB / 488.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.1076, allocations: 13.72 kB / 488.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1077, allocations: 318.8 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/0.1078, allocations: 27.97 kB / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.318e-05/0.1079, allocations: 41.7 kB / 488.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.108, allocations: 56.83 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.108, allocations: 8.031 kB / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002034/0.1082, allocations: 93.5 kB / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1083, allocations: 4 kB / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1083, allocations: 0 / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1083, allocations: 0 / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.865e-05/0.1083, allocations: 19.98 kB / 488.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1084, allocations: 4 kB / 488.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.752e-05/0.1084, allocations: 8 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.1084, allocations: 4.188 kB / 489 MB, free: 14.66 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 8.518e-05/0.1085, allocations: 117.8 kB / 489.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.1086, allocations: 7.906 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.1088, allocations: 113.9 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1088, allocations: 0 / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1088, allocations: 0 / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1088, allocations: 3.984 kB / 489.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004582/0.1093, allocations: 362.5 kB / 489.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1093, allocations: 0 / 489.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.2e-05/0.1094, allocations: 19.98 kB / 489.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1094, allocations: 0 / 489.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.1094, allocations: 7.938 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1094, allocations: 3.938 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1094, allocations: 0 / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.1097, allocations: 187.4 kB / 489.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.1097, allocations: 93 kB / 489.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.1097, allocations: 4.219 kB / 489.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.062e-05/0.1098, allocations: 15.92 kB / 489.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.1099, allocations: 0 / 489.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1099, allocations: 8 kB / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.957e-05/0.11, allocations: 113.9 kB / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.11, allocations: 0 / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.1103, allocations: 39.94 kB / 490 MB, free: 13.48 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.001049/0.1113, allocations: 499.2 kB / 490.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.1115, allocations: 71.89 kB / 490.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1116, allocations: 0 / 490.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-05/0.1117, allocations: 27.98 kB / 490.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.112, allocations: 15.98 kB / 490.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.1124, allocations: 230.3 kB / 490.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.1126, allocations: 0.6887 MB / 491.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.1127, allocations: 15.44 kB / 491.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1127, allocations: 0 / 491.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of Templates: time 0.003571/0.1163, allocations: 1.952 MB / 493.5 MB, free: 10.09 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches