Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 115.8 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 203.5 kB / 19.36 MB, free: 3.746 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.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2014/0.2014, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 72.45 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.103, allocations: 62.44 MB / 481.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002671/0.1057, allocations: 1.594 MB / 483.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009043/0.1066, allocations: 0.5339 MB / 483.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.1067, allocations: 0 / 483.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.1069, allocations: 27.78 kB / 483.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.1071, allocations: 79.62 kB / 483.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1074, allocations: 111.7 kB / 483.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.1076, allocations: 63.83 kB / 483.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.097e-05/0.1077, allocations: 12 kB / 483.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.31e-05/0.1077, allocations: 27.84 kB / 483.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.476e-05/0.1078, allocations: 19.86 kB / 483.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1078, allocations: 4 kB / 483.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.297e-05/0.1079, allocations: 36 kB / 484 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.1079, allocations: 11.97 kB / 484 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.108, allocations: 23.81 kB / 484 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.1081, allocations: 83.72 kB / 484.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1081, allocations: 0 / 484.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1081, allocations: 0 / 484.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1081, allocations: 7.938 kB / 484.1 MB, free: 1.918 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.0003768/0.1085, allocations: 383.1 kB / 484.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.1085, allocations: 8.031 kB / 484.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.1086, allocations: 12.84 kB / 484.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.1087, allocations: 184.3 kB / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.1088, allocations: 4.375 kB / 484.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1088, allocations: 4.375 kB / 484.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.1089, allocations: 61.72 kB / 484.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1089, allocations: 3.906 kB / 484.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1089, allocations: 4 kB / 484.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.109, allocations: 0 / 484.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/0.109, allocations: 23.98 kB / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.1094, allocations: 280.9 kB / 485 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.1096, allocations: 50.5 kB / 485.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.1097, allocations: 16.94 kB / 485.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.1097, allocations: 0 / 485.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.1097, allocations: 38.56 kB / 485.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1097, allocations: 0 / 485.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005554/0.1103, allocations: 153.2 kB / 485.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.1103, allocations: 51.41 kB / 485.3 MB, free: 496 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.1105, allocations: 153.2 kB / 485.5 MB, free: 332 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.1105, allocations: 25.7 kB / 485.5 MB, free: 300 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.1105, allocations: 96.14 kB / 485.6 MB, free: 200 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.1106, allocations: 19.8 kB / 485.6 MB, free: 180 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.1106, allocations: 17.72 kB / 485.6 MB, free: 156 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1107, allocations: 322.8 kB / 486 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/0.1108, allocations: 23.92 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.587e-05/0.1109, allocations: 19.98 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.111, allocations: 52.83 kB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.111, allocations: 0 / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001737/0.1112, allocations: 93.5 kB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.1112, allocations: 4 kB / 486.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1112, allocations: 0 / 486.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1112, allocations: 0 / 486.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.1113, allocations: 15.98 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1113, allocations: 0 / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.1113, allocations: 8 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1114, allocations: 4 kB / 486.2 MB, free: 15.6 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 7.344e-05/0.1114, allocations: 121.8 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.1115, allocations: 7.906 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.1117, allocations: 106.1 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1117, allocations: 0 / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.1117, allocations: 8 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1117, allocations: 0 / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.1121, allocations: 362.4 kB / 486.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1121, allocations: 7.938 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.128e-05/0.1122, allocations: 8 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1122, allocations: 3.984 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.1122, allocations: 0 / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1122, allocations: 3.938 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1122, allocations: 4 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.1124, allocations: 179.4 kB / 487 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.1125, allocations: 85.11 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.1125, allocations: 0 / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.1126, allocations: 7.938 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.1126, allocations: 3.984 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1126, allocations: 4 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.102e-05/0.1127, allocations: 115.2 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.1127, allocations: 8 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.113, allocations: 15.94 kB / 487.2 MB, free: 14.46 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.0008605/0.1138, allocations: 411.1 kB / 487.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.114, allocations: 47.97 kB / 487.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.114, allocations: 0 / 487.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.041e-05/0.1141, allocations: 35.91 kB / 487.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.1145, allocations: 15.56 kB / 487.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.1149, allocations: 186 kB / 487.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.1152, allocations: 0.6924 MB / 488.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.114e-05/0.1152, allocations: 15.97 kB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.1153, allocations: 15.44 kB / 488.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1153, allocations: 0 / 488.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of Templates: time 0.00343/0.1187, allocations: 1.122 MB / 489.7 MB, free: 12.02 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches