Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007785/0.0007785, allocations: 96.27 kB / 18.01 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.0009101/0.0009101, allocations: 207.3 kB / 18.94 MB, free: 4.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1863/0.1863, allocations: 46.19 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002504, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09716/0.09742, allocations: 63.56 MB / 483.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001875/0.09934, allocations: 1.369 MB / 485.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009395/0.1003, allocations: 0.534 MB / 485.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.1004, allocations: 0 / 485.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.1006, allocations: 83.81 kB / 485.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.1009, allocations: 99.7 kB / 485.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.1012, allocations: 86.97 kB / 485.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1013, allocations: 91.73 kB / 486 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1015, allocations: 23.98 kB / 486 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.1015, allocations: 39.89 kB / 486.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1016, allocations: 55.77 kB / 486.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1017, allocations: 4 kB / 486.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.711e-05/0.1018, allocations: 39.98 kB / 486.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.1018, allocations: 27.91 kB / 486.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.1019, allocations: 65.27 kB / 486.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1021, allocations: 96.08 kB / 486.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1021, allocations: 0 / 486.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1021, allocations: 0 / 486.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1021, allocations: 0 / 486.3 MB, free: 1.492 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004415/0.1025, allocations: 419 kB / 486.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1026, allocations: 12.03 kB / 486.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.1026, allocations: 12.75 kB / 486.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.1028, allocations: 212.5 kB / 487 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1028, allocations: 384 / 487 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.1029, allocations: 4.375 kB / 487 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.103, allocations: 77.73 kB / 487.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1031, allocations: 0 / 487.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1031, allocations: 8 kB / 487.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1031, allocations: 0 / 487.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.1032, allocations: 47.89 kB / 487.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.1036, allocations: 336.6 kB / 487.4 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.1038, allocations: 62.56 kB / 487.5 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.1038, allocations: 28.84 kB / 487.5 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1039, allocations: 0 / 487.5 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.1039, allocations: 34.56 kB / 487.6 MB, free: 104 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1039, allocations: 0 / 487.6 MB, free: 104 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001076/0.105, allocations: 349.3 kB / 487.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.105, allocations: 55.41 kB / 488 MB, free: 15.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.1052, allocations: 235.5 kB / 488.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1053, allocations: 29.7 kB / 488.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.1053, allocations: 112.1 kB / 488.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.1054, allocations: 39.36 kB / 488.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.1054, allocations: 21.7 kB / 488.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.1055, allocations: 330.8 kB / 488.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.873e-05/0.1056, allocations: 35.98 kB / 488.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.785e-05/0.1057, allocations: 39.97 kB / 488.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.1059, allocations: 100.5 kB / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1059, allocations: 4 kB / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002712/0.1062, allocations: 153.4 kB / 489 MB, free: 14.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1062, allocations: 4.109 kB / 489 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1062, allocations: 3.938 kB / 489 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1063, allocations: 3.938 kB / 489 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1064, allocations: 27.98 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1064, allocations: 3.984 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.361e-05/0.1065, allocations: 8 kB / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1065, allocations: 4 kB / 489.1 MB, free: 14.51 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 (13): * Single equations (assignments): 13 * 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 9.656e-05/0.1066, allocations: 149.7 kB / 489.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.1066, allocations: 11.81 kB / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.107, allocations: 171.1 kB / 489.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.107, allocations: 7.938 kB / 489.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.107, allocations: 4 kB / 489.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.107, allocations: 0 / 489.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005824/0.1076, allocations: 491.1 kB / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1076, allocations: 0 / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-05/0.1077, allocations: 31.92 kB / 489.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1077, allocations: 0 / 489.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.1077, allocations: 11.92 kB / 489.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1078, allocations: 4 kB / 490 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1078, allocations: 0 / 490 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.1081, allocations: 252.1 kB / 490.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.1081, allocations: 89.02 kB / 490.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.1081, allocations: 3.984 kB / 490.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/0.1082, allocations: 8 kB / 490.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.1083, allocations: 11.98 kB / 490.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1083, allocations: 4 kB / 490.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.1084, allocations: 185.2 kB / 490.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1084, allocations: 0 / 490.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1087, allocations: 24 kB / 490.5 MB, free: 12.97 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 (13): * Single equations (assignments): 13 * 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.0009937/0.1097, allocations: 454.3 kB / 491 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.11, allocations: 99.89 kB / 491.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.11, allocations: 0 / 491.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.1101, allocations: 63.91 kB / 491.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.1104, allocations: 22.88 kB / 491.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005769/0.111, allocations: 388.7 kB / 491.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1113, allocations: 0.7199 MB / 492.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.1113, allocations: 19.44 kB / 492.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 1.413e-06/0.1113, allocations: 4 kB / 492.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of Templates: time 0.00374/0.1151, allocations: 2.036 MB / 494.3 MB, free: 9.281 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches