Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007295/0.0007295, allocations: 95.14 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.0008365/0.0008365, allocations: 200.7 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.321/1.321, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1913/0.1913, allocations: 46.19 MB / 345.9 MB, free: 11.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002536/0.0002536, allocations: 11.94 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.102, allocations: 63.55 MB / 483.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.00199/0.104, allocations: 1.318 MB / 485 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1057, allocations: 1.128 MB / 486.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.526e-05/0.1058, allocations: 0 / 486.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.106, allocations: 27.91 kB / 486.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.1064, allocations: 71.75 kB / 486.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.1067, allocations: 91.83 kB / 486.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1069, allocations: 63.83 kB / 486.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.107, allocations: 15.98 kB / 486.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.512e-05/0.1071, allocations: 27.86 kB / 486.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1072, allocations: 27.84 kB / 486.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1072, allocations: 4 kB / 486.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.1074, allocations: 87.88 kB / 486.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.726e-05/0.1075, allocations: 11.98 kB / 486.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.1075, allocations: 49.5 kB / 486.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1078, allocations: 103.8 kB / 486.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1078, allocations: 0 / 486.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1078, allocations: 0 / 486.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1078, allocations: 4 kB / 486.7 MB, free: 1.098 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.0005355/0.1083, allocations: 391.5 kB / 487.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1084, allocations: 12.88 kB / 487.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.1084, allocations: 8.844 kB / 487.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.1087, allocations: 188.2 kB / 487.3 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.1087, allocations: 384 / 487.3 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.1087, allocations: 8.375 kB / 487.3 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1089, allocations: 71.52 kB / 487.4 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1089, allocations: 4 kB / 487.4 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1089, allocations: 0 / 487.4 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1089, allocations: 0 / 487.4 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.109, allocations: 27.92 kB / 487.4 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.1095, allocations: 296.8 kB / 487.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.1097, allocations: 42.56 kB / 487.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.1098, allocations: 20.94 kB / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1098, allocations: 0 / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1098, allocations: 42.44 kB / 487.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1098, allocations: 3.938 kB / 487.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006038/0.1104, allocations: 173.3 kB / 488 MB, free: 15.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.1105, allocations: 81.05 kB / 488.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.1107, allocations: 145.8 kB / 488.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.1107, allocations: 25.7 kB / 488.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.1107, allocations: 96.05 kB / 488.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1108, allocations: 19.8 kB / 488.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.1108, allocations: 9.719 kB / 488.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.111, allocations: 326.8 kB / 488.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.848e-05/0.1111, allocations: 23.97 kB / 488.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-05/0.1111, allocations: 37.7 kB / 488.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.1113, allocations: 64.86 kB / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1113, allocations: 0 / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002029/0.1116, allocations: 97.5 kB / 488.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1116, allocations: 4 kB / 488.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1116, allocations: 0 / 488.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.1116, allocations: 4 kB / 488.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.1117, allocations: 15.98 kB / 488.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1117, allocations: 0 / 488.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.1117, allocations: 8 kB / 489 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1118, allocations: 3.938 kB / 489 MB, free: 14.65 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.912e-05/0.1118, allocations: 117.8 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.1119, allocations: 7.906 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.1121, allocations: 113.9 kB / 489.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1122, allocations: 0 / 489.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1122, allocations: 320 / 489.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1122, allocations: 0 / 489.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.1126, allocations: 374.5 kB / 489.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1126, allocations: 0 / 489.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.1127, allocations: 15.98 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1127, allocations: 288 / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1127, allocations: 4 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.1127, allocations: 7.875 kB / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1127, allocations: 4 kB / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.113, allocations: 187.4 kB / 489.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.1131, allocations: 96.92 kB / 489.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.1131, allocations: 0 / 489.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.1132, allocations: 23.92 kB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.1132, allocations: 0 / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1132, allocations: 4 kB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.633e-05/0.1133, allocations: 113.4 kB / 490 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1133, allocations: 3.938 kB / 490 MB, free: 13.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.1136, allocations: 36 kB / 490 MB, free: 13.46 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.001143/0.1148, allocations: 496 kB / 490.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.115, allocations: 67.91 kB / 490.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.115, allocations: 0 / 490.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/0.1151, allocations: 31.97 kB / 490.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.1154, allocations: 19.36 kB / 490.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.1159, allocations: 222.6 kB / 490.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.1161, allocations: 0.6926 MB / 491.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.1162, allocations: 23.44 kB / 491.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1162, allocations: 0 / 491.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of Templates: time 0.003965/0.1202, allocations: 1.941 MB / 493.5 MB, free: 10.08 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches