Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009104/0.0009104, allocations: 93.67 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.001123/0.001123, allocations: 202.2 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.314/1.314, allocations: 227.7 MB / 247.5 MB, free: 9.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1874/0.1874, allocations: 46.18 MB / 345.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002422/0.0002422, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0975/0.09776, allocations: 63.56 MB / 483.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.001811/0.0996, allocations: 1.322 MB / 485.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.1012, allocations: 1.117 MB / 486.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/0.1013, allocations: 0 / 486.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.1015, allocations: 19.91 kB / 486.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.1017, allocations: 67.77 kB / 486.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.102, allocations: 75.84 kB / 486.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.1021, allocations: 67.83 kB / 486.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.711e-05/0.1022, allocations: 7.984 kB / 486.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.1023, allocations: 27.86 kB / 486.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.1024, allocations: 27.84 kB / 486.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1025, allocations: 8 kB / 486.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.1026, allocations: 91.89 kB / 486.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.1027, allocations: 11.97 kB / 486.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.1027, allocations: 49.52 kB / 486.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.1029, allocations: 95.86 kB / 486.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1029, allocations: 0 / 486.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.1029, allocations: 7.922 kB / 486.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1029, 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.0004281/0.1034, allocations: 387.5 kB / 487.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1034, allocations: 16.88 kB / 487.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.1035, allocations: 8.844 kB / 487.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.1036, allocations: 196.2 kB / 487.3 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-06/0.1037, allocations: 384 / 487.3 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1037, allocations: 4.375 kB / 487.3 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.1038, allocations: 67.53 kB / 487.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1039, allocations: 0 / 487.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1039, allocations: 0 / 487.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1039, allocations: 8 kB / 487.4 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.68e-05/0.104, allocations: 31.91 kB / 487.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.1043, allocations: 276.8 kB / 487.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1045, allocations: 46.56 kB / 487.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.1046, allocations: 20.94 kB / 487.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.1046, allocations: 0 / 487.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.1046, allocations: 38.5 kB / 487.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1046, allocations: 3.938 kB / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005507/0.1052, allocations: 157.3 kB / 488 MB, free: 15.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.1053, allocations: 85.09 kB / 488 MB, free: 15.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.1054, allocations: 144.5 kB / 488.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1054, allocations: 29.7 kB / 488.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.1055, allocations: 96.05 kB / 488.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.1055, allocations: 15.8 kB / 488.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.1055, allocations: 13.72 kB / 488.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1056, allocations: 322.8 kB / 488.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.1057, allocations: 19.98 kB / 488.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.869e-05/0.1058, allocations: 37.7 kB / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.106, allocations: 56.83 kB / 488.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.106, allocations: 0 / 488.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001952/0.1062, allocations: 97.73 kB / 488.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1062, allocations: 4 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1062, allocations: 0 / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1062, allocations: 0 / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.787e-05/0.1063, allocations: 15.98 kB / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.1063, allocations: 0 / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.392e-05/0.1064, allocations: 16 kB / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1064, allocations: 3.938 kB / 488.9 MB, free: 14.7 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.335e-05/0.1065, allocations: 117.8 kB / 489 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.1065, allocations: 7.906 kB / 489 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.1068, allocations: 101.9 kB / 489.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.1068, allocations: 3.938 kB / 489.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1068, allocations: 0 / 489.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1068, allocations: 0 / 489.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.1072, allocations: 358.5 kB / 489.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1072, allocations: 0 / 489.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.1073, allocations: 19.98 kB / 489.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1073, allocations: 0 / 489.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1073, allocations: 3.938 kB / 489.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.1073, allocations: 3.938 kB / 489.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1073, allocations: 0 / 489.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.1076, allocations: 191.4 kB / 489.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.1076, allocations: 92.94 kB / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1076, allocations: 0 / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.1077, allocations: 16.19 kB / 489.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.1078, allocations: 3.984 kB / 489.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.1078, allocations: 4 kB / 489.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.218e-05/0.1079, allocations: 113.1 kB / 489.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1079, allocations: 4 kB / 489.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1082, allocations: 39.98 kB / 489.9 MB, free: 13.54 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.001061/0.1092, allocations: 495.5 kB / 490.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.1094, allocations: 55.91 kB / 490.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1095, allocations: 0 / 490.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.143e-05/0.1095, allocations: 31.98 kB / 490.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.1098, allocations: 15.98 kB / 490.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.1102, allocations: 218.3 kB / 490.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.1105, allocations: 0.6887 MB / 491.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.1106, allocations: 23.42 kB / 491.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1106, allocations: 0 / 491.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of Templates: time 0.003576/0.1141, allocations: 1.91 MB / 493.4 MB, free: 10.21 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches