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.0009174/0.0009175, allocations: 97.91 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.001092/0.001092, allocations: 201.5 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.321/1.321, allocations: 227.7 MB / 247.5 MB, free: 11.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1897/0.1897, allocations: 46.18 MB / 345.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000252/0.000252, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1039, allocations: 63.57 MB / 483.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.001767/0.1057, allocations: 1.31 MB / 485 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009223/0.1067, allocations: 0.5263 MB / 485.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.1067, allocations: 4 kB / 485.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.1069, allocations: 15.94 kB / 485.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.1071, allocations: 67.69 kB / 485.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.1074, allocations: 99.81 kB / 485.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.1076, allocations: 59.84 kB / 485.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.77e-05/0.1077, allocations: 11.98 kB / 485.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.474e-05/0.1077, allocations: 19.88 kB / 485.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.704e-05/0.1078, allocations: 23.84 kB / 485.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1078, allocations: 0 / 485.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.857e-05/0.1079, allocations: 35.98 kB / 485.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.1079, allocations: 4 kB / 485.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.108, allocations: 49.52 kB / 486 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.1081, allocations: 63.89 kB / 486 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.1081, allocations: 0 / 486 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1081, allocations: 0 / 486 MB, free: 1.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.1082, allocations: 3.938 kB / 486 MB, free: 1.809 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.000414/0.1086, allocations: 379.5 kB / 486.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1086, allocations: 8.875 kB / 486.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.1087, allocations: 8.844 kB / 486.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.1088, allocations: 194.4 kB / 486.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.1089, allocations: 4.375 kB / 486.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1089, allocations: 384 / 486.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.109, allocations: 49.81 kB / 486.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.109, allocations: 0 / 486.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1091, allocations: 0 / 486.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1091, allocations: 4 kB / 486.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.1092, allocations: 35.91 kB / 486.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.1096, allocations: 280.9 kB / 487 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.1098, allocations: 46.55 kB / 487 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.157e-05/0.1098, allocations: 24.86 kB / 487 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.1099, allocations: 3.938 kB / 487 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.1099, allocations: 30.56 kB / 487.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.1099, allocations: 0 / 487.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005909/0.1105, allocations: 181.5 kB / 487.2 MB, free: 428 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.1105, allocations: 51.41 kB / 487.3 MB, free: 364 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.1107, allocations: 148.4 kB / 487.4 MB, free: 204 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1107, allocations: 29.7 kB / 487.5 MB, free: 168 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.1108, allocations: 96.12 kB / 487.6 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.1108, allocations: 19.72 kB / 487.6 MB, free: 48 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.1108, allocations: 17.66 kB / 487.6 MB, free: 24 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.111, allocations: 322.8 kB / 487.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.111, allocations: 23.98 kB / 487.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.1111, allocations: 23.98 kB / 488 MB, free: 15.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.1113, allocations: 60.83 kB / 488 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1113, allocations: 0 / 488 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002051/0.1115, allocations: 101.6 kB / 488.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1115, allocations: 11.94 kB / 488.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1115, allocations: 0 / 488.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1115, allocations: 3.984 kB / 488.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.961e-05/0.1116, allocations: 15.98 kB / 488.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1116, allocations: 0 / 488.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.1117, allocations: 4 kB / 488.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1117, allocations: 7.984 kB / 488.2 MB, free: 15.44 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.721e-05/0.1118, allocations: 125.8 kB / 488.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.1118, allocations: 8.156 kB / 488.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.1121, allocations: 117.8 kB / 488.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1121, allocations: 4 kB / 488.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1121, allocations: 0 / 488.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1121, allocations: 0 / 488.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.1125, allocations: 362.5 kB / 488.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1125, allocations: 0 / 488.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.825e-05/0.1126, allocations: 15.98 kB / 488.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1126, allocations: 0 / 488.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1126, allocations: 4 kB / 488.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.1126, allocations: 11.88 kB / 488.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1126, allocations: 0 / 488.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.1128, allocations: 183.4 kB / 489 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.1129, allocations: 93.02 kB / 489.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1129, allocations: 0 / 489.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.113, allocations: 11.92 kB / 489.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.113, allocations: 4 kB / 489.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.113, allocations: 0 / 489.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.369e-05/0.1131, allocations: 122.2 kB / 489.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1131, allocations: 0 / 489.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1134, allocations: 16 kB / 489.2 MB, free: 14.28 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.0008659/0.1143, allocations: 406.5 kB / 489.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.1145, allocations: 59.89 kB / 489.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1145, allocations: 0 / 489.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.323e-05/0.1146, allocations: 31.98 kB / 489.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.1149, allocations: 22.48 kB / 489.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.1154, allocations: 227 kB / 489.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1157, allocations: 0.7004 MB / 490.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.1157, allocations: 19.42 kB / 490.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1157, allocations: 0 / 490.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of Templates: time 0.003395/0.1192, allocations: 1.437 MB / 492.1 MB, free: 11.46 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 -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