Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007841/0.0007842, allocations: 95.8 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.0009347/0.0009346, allocations: 208.3 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 227.7 MB / 247.5 MB, free: 9.582 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.19 MB / 345.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002557/0.0002557, allocations: 8 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1023, allocations: 63.57 MB / 483.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.001775/0.1041, allocations: 1.33 MB / 485.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009509/0.105, allocations: 0.5223 MB / 485.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.67e-05/0.1051, allocations: 4 kB / 485.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.1054, allocations: 123.7 kB / 485.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.1056, allocations: 107.8 kB / 485.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.1059, allocations: 83.77 kB / 485.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1061, allocations: 87.86 kB / 486 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.507e-05/0.1061, allocations: 11.98 kB / 486 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.621e-05/0.1062, allocations: 47.77 kB / 486 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.1063, allocations: 87.78 kB / 486.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1064, allocations: 0 / 486.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.946e-05/0.1065, allocations: 43.98 kB / 486.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.1065, allocations: 23.86 kB / 486.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.1066, allocations: 61.38 kB / 486.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.1067, allocations: 91.86 kB / 486.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1067, allocations: 0 / 486.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1068, allocations: 0 / 486.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1068, allocations: 0 / 486.3 MB, free: 1.496 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.0004429/0.1072, allocations: 423.1 kB / 486.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1072, allocations: 12.88 kB / 486.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.1073, allocations: 8.844 kB / 486.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.1075, allocations: 207.9 kB / 487 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1075, allocations: 8.297 kB / 487 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1075, allocations: 4.375 kB / 487 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1077, allocations: 53.81 kB / 487 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1077, allocations: 3.984 kB / 487.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1077, allocations: 8 kB / 487.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1077, allocations: 0 / 487.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1078, allocations: 31.98 kB / 487.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.1082, allocations: 304.7 kB / 487.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.1083, allocations: 50.56 kB / 487.4 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.1084, allocations: 20.94 kB / 487.5 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.1084, allocations: 0 / 487.5 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1084, allocations: 38.5 kB / 487.5 MB, free: 188 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.1084, allocations: 0 / 487.5 MB, free: 188 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008967/0.1093, allocations: 261 kB / 487.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.1094, allocations: 55.41 kB / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.1096, allocations: 275.7 kB / 488.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1096, allocations: 33.64 kB / 488.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.1097, allocations: 112.1 kB / 488.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.1098, allocations: 31.61 kB / 488.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.1098, allocations: 17.72 kB / 488.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1099, allocations: 322.8 kB / 488.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.61e-05/0.11, allocations: 31.97 kB / 488.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.156e-05/0.1101, allocations: 27.98 kB / 488.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.1102, allocations: 77.05 kB / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1103, allocations: 0 / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002227/0.1105, allocations: 109.4 kB / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1105, allocations: 12 kB / 488.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1105, allocations: 0 / 488.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.1105, allocations: 0 / 488.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.787e-05/0.1106, allocations: 19.98 kB / 488.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1106, allocations: 0 / 488.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.364e-05/0.1107, allocations: 11.92 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1107, allocations: 8.359 kB / 488.9 MB, free: 14.74 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 0.0001009/0.1108, allocations: 141.8 kB / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.1109, allocations: 15.81 kB / 489 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.1112, allocations: 134.9 kB / 489.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1112, allocations: 7.984 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1112, allocations: 0 / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1112, allocations: 3.938 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.1117, allocations: 423.3 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1117, allocations: 0 / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.387e-05/0.1118, allocations: 19.98 kB / 489.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1118, allocations: 7.969 kB / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.1118, allocations: 4 kB / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1118, allocations: 0 / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1118, allocations: 3.938 kB / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.1121, allocations: 216.2 kB / 489.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.1122, allocations: 92.86 kB / 489.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.1122, allocations: 4 kB / 489.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-05/0.1123, allocations: 15.98 kB / 489.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.1123, allocations: 4 kB / 489.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1123, allocations: 3.984 kB / 489.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.1125, allocations: 205.5 kB / 490.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1125, allocations: 4 kB / 490.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1128, allocations: 24 kB / 490.2 MB, free: 13.33 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.0009928/0.1138, allocations: 454.9 kB / 490.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.114, allocations: 71.97 kB / 490.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.114, allocations: 4 kB / 490.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.91e-05/0.1141, allocations: 35.92 kB / 490.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.1144, allocations: 27.98 kB / 490.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/0.115, allocations: 385 kB / 491.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.1153, allocations: 0.7179 MB / 491.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.876e-05/0.1153, allocations: 19.42 kB / 491.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1153, allocations: 3.938 kB / 491.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of Templates: time 0.003431/0.1188, allocations: 1.863 MB / 493.7 MB, free: 9.859 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches