Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009099/0.0009099, allocations: 98.61 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 200.1 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1893/0.1893, allocations: 46.19 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002344/0.0002344, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09913/0.09938, allocations: 63.56 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.001783/0.1012, allocations: 1.314 MB / 485 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00093/0.1021, allocations: 0.5263 MB / 485.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.1022, allocations: 4 kB / 485.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.1024, allocations: 23.92 kB / 485.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.1026, allocations: 55.77 kB / 485.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.1029, allocations: 99.75 kB / 485.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.1031, allocations: 63.84 kB / 485.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.969e-05/0.1032, allocations: 19.97 kB / 485.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.512e-05/0.1032, allocations: 19.88 kB / 485.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.195e-05/0.1033, allocations: 15.86 kB / 485.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1033, allocations: 4 kB / 485.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.971e-05/0.1034, allocations: 31.98 kB / 485.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.1034, allocations: 7.984 kB / 485.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.1035, allocations: 57.44 kB / 486 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.1036, allocations: 67.84 kB / 486 MB, free: 1.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1036, allocations: 0 / 486 MB, free: 1.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1036, allocations: 0 / 486 MB, free: 1.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.1036, allocations: 0 / 486 MB, free: 1.844 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.0004161/0.1041, allocations: 371.6 kB / 486.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1041, allocations: 8.875 kB / 486.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.1041, allocations: 8.844 kB / 486.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.1043, allocations: 196.2 kB / 486.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.1043, allocations: 4.375 kB / 486.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.1044, allocations: 4.375 kB / 486.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1045, allocations: 53.8 kB / 486.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1045, allocations: 3.938 kB / 486.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.1045, allocations: 0 / 486.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.1045, allocations: 0 / 486.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.389e-05/0.1046, allocations: 27.98 kB / 486.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.105, allocations: 296.7 kB / 487 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.1052, allocations: 46.5 kB / 487 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.1053, allocations: 24.88 kB / 487.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.1053, allocations: 8 kB / 487.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.1053, allocations: 30.56 kB / 487.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1053, allocations: 0 / 487.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005655/0.1059, allocations: 173.5 kB / 487.3 MB, free: 456 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.1059, allocations: 55.41 kB / 487.3 MB, free: 388 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1061, allocations: 161.8 kB / 487.5 MB, free: 216 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.1061, allocations: 25.7 kB / 487.5 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.1062, allocations: 104.1 kB / 487.6 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.1062, allocations: 15.75 kB / 487.6 MB, free: 60 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.1062, allocations: 13.72 kB / 487.6 MB, free: 40 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1063, allocations: 322.8 kB / 487.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.074e-05/0.1064, allocations: 23.98 kB / 488 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/0.1065, allocations: 23.98 kB / 488 MB, free: 15.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.1067, allocations: 64.81 kB / 488.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1067, allocations: 0 / 488.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001993/0.1069, allocations: 97.52 kB / 488.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1069, allocations: 4 kB / 488.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1069, allocations: 4 kB / 488.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1069, allocations: 0 / 488.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.107, allocations: 15.98 kB / 488.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.107, allocations: 0 / 488.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.1071, allocations: 11.92 kB / 488.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.1071, allocations: 4.25 kB / 488.2 MB, free: 15.46 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.265e-05/0.1072, allocations: 117.8 kB / 488.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.1072, allocations: 11.91 kB / 488.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.1074, allocations: 117.9 kB / 488.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1075, allocations: 0 / 488.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.1075, allocations: 0 / 488.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1075, allocations: 3.938 kB / 488.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.1079, allocations: 370.5 kB / 488.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1079, allocations: 0 / 488.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.129e-05/0.108, allocations: 19.92 kB / 488.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.108, allocations: 0 / 488.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.108, allocations: 3.938 kB / 488.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.108, allocations: 4 kB / 488.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.108, allocations: 0 / 488.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.1083, allocations: 191.4 kB / 489 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.1083, allocations: 89 kB / 489.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1084, allocations: 3.938 kB / 489.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.1084, allocations: 8 kB / 489.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.1085, allocations: 4 kB / 489.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1085, allocations: 11.92 kB / 489.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.651e-05/0.1086, allocations: 126.4 kB / 489.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1086, allocations: 3.938 kB / 489.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1088, allocations: 16 kB / 489.3 MB, free: 14.28 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.0008761/0.1097, allocations: 404.7 kB / 489.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.1099, allocations: 55.97 kB / 489.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1099, allocations: 0 / 489.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.54e-05/0.11, allocations: 35.97 kB / 489.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.1103, allocations: 15.94 kB / 489.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.1108, allocations: 251 kB / 490 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.111, allocations: 0.7004 MB / 490.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.111, allocations: 15.42 kB / 490.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.111, allocations: 0 / 490.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of Templates: time 0.002801/0.1139, allocations: 1.454 MB / 492.2 MB, free: 11.43 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches