Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,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.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007704/0.0007703, allocations: 98.53 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008944/0.0008946, allocations: 206.5 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.31/1.31, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.204/0.204, allocations: 46.19 MB / 345.9 MB, free: 11.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000226/0.0002259, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09722/0.09746, allocations: 63.57 MB / 483.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.001818/0.09931, allocations: 1.33 MB / 485.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009107/0.1002, allocations: 0.534 MB / 485.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.1003, allocations: 0 / 485.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.1006, allocations: 71.84 kB / 485.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1008, allocations: 91.7 kB / 485.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.1011, allocations: 103.8 kB / 485.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.1013, allocations: 71.88 kB / 485.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.845e-05/0.1014, allocations: 12 kB / 485.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.743e-05/0.1014, allocations: 39.78 kB / 486 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.357e-05/0.1015, allocations: 47.83 kB / 486 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.1015, allocations: 4 kB / 486 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1016, allocations: 47.97 kB / 486.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.1017, allocations: 19.92 kB / 486.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.1018, allocations: 53.44 kB / 486.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.1019, allocations: 79.88 kB / 486.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1019, allocations: 0 / 486.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1019, allocations: 4 kB / 486.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1019, allocations: 0 / 486.2 MB, free: 1.59 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.0004205/0.1023, allocations: 403.3 kB / 486.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1024, allocations: 8.875 kB / 486.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.1024, allocations: 12.75 kB / 486.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.1026, allocations: 198.7 kB / 486.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.1026, allocations: 4.375 kB / 486.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.1026, allocations: 384 / 486.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1028, allocations: 65.78 kB / 486.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1028, allocations: 0 / 486.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1028, allocations: 3.938 kB / 486.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1028, allocations: 8 kB / 486.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1029, allocations: 35.91 kB / 487 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.1033, allocations: 304.7 kB / 487.3 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.1035, allocations: 50.55 kB / 487.3 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.1035, allocations: 16.86 kB / 487.3 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.1035, allocations: 7.938 kB / 487.3 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.1036, allocations: 34.64 kB / 487.4 MB, free: 304 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.1036, allocations: 0 / 487.4 MB, free: 304 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000886/0.1045, allocations: 273.2 kB / 487.6 MB, free: 24 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.1045, allocations: 51.41 kB / 487.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.1047, allocations: 218.7 kB / 487.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1048, allocations: 29.7 kB / 487.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.1048, allocations: 104.1 kB / 488 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.1049, allocations: 27.64 kB / 488.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.1049, allocations: 17.72 kB / 488.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.105, allocations: 322.8 kB / 488.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.716e-05/0.1051, allocations: 35.98 kB / 488.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.002e-05/0.1052, allocations: 35.97 kB / 488.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.1054, allocations: 88.77 kB / 488.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1054, allocations: 0 / 488.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002343/0.1056, allocations: 117.5 kB / 488.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1056, allocations: 8 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1057, allocations: 4 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.1057, allocations: 0 / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1058, allocations: 19.98 kB / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.1058, allocations: 0 / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.1058, allocations: 7.938 kB / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.1059, allocations: 8.422 kB / 488.7 MB, free: 14.89 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.0001064/0.106, allocations: 129.8 kB / 488.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.106, allocations: 11.91 kB / 488.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003028/0.1063, allocations: 151.2 kB / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1063, allocations: 3.984 kB / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1064, allocations: 0 / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1064, allocations: 3.938 kB / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.1069, allocations: 431.4 kB / 489.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1069, allocations: 0 / 489.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.466e-05/0.107, allocations: 23.98 kB / 489.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.107, allocations: 11.97 kB / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.107, allocations: 3.938 kB / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.107, allocations: 0 / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.107, allocations: 0 / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.1073, allocations: 228.1 kB / 489.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.1074, allocations: 92.95 kB / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.1074, allocations: 4 kB / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.1075, allocations: 7.984 kB / 489.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.1075, allocations: 4 kB / 489.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.1075, allocations: 4 kB / 489.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.1076, allocations: 168.7 kB / 490 MB, free: 13.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1077, allocations: 0 / 490 MB, free: 13.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1079, allocations: 31.98 kB / 490 MB, free: 13.5 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.0009977/0.1089, allocations: 441.1 kB / 490.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.1092, allocations: 83.95 kB / 490.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1092, allocations: 0 / 490.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.1093, allocations: 47.91 kB / 490.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.1096, allocations: 15.94 kB / 490.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.1101, allocations: 347.8 kB / 490.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.1104, allocations: 0.7043 MB / 491.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.1105, allocations: 19.42 kB / 491.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1105, allocations: 0 / 491.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of Templates: time 0.003432/0.1139, allocations: 1.793 MB / 493.4 MB, free: 10.16 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches