Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.9 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2073/0.2073, allocations: 46.11 MB / 344.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 80.66 kB / 417.5 MB, free: 20.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1076, allocations: 62.44 MB / 479.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003026/0.1107, allocations: 1.68 MB / 481.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009498/0.1117, allocations: 0.5378 MB / 482.1 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.1117, allocations: 4 kB / 482.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.112, allocations: 71.77 kB / 482.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.1123, allocations: 83.8 kB / 482.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.1126, allocations: 79.84 kB / 482.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.1128, allocations: 79.75 kB / 482.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.823e-05/0.1129, allocations: 15.98 kB / 482.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.113, allocations: 27.92 kB / 482.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.857e-05/0.1131, allocations: 47.83 kB / 482.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1131, allocations: 0 / 482.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1132, allocations: 47.92 kB / 482.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.608e-05/0.1133, allocations: 23.91 kB / 482.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.1133, allocations: 27.75 kB / 482.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.1135, allocations: 79.88 kB / 482.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1135, allocations: 0 / 482.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1135, allocations: 0 / 482.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.1135, allocations: 3.938 kB / 482.7 MB, free: 2.949 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.0004724/0.114, allocations: 407.4 kB / 483.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.114, allocations: 12.88 kB / 483.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.1141, allocations: 12.75 kB / 483.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1143, allocations: 196.1 kB / 483.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.1143, allocations: 4.312 kB / 483.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.1143, allocations: 4.375 kB / 483.3 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1145, allocations: 61.78 kB / 483.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1145, allocations: 0 / 483.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1145, allocations: 0 / 483.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1145, allocations: 4 kB / 483.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.476e-05/0.1146, allocations: 27.97 kB / 483.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.115, allocations: 292.8 kB / 483.7 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.1151, allocations: 42.56 kB / 483.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.1152, allocations: 16.86 kB / 483.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1152, allocations: 4 kB / 483.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1152, allocations: 34.64 kB / 483.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1152, allocations: 0 / 483.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009055/0.1161, allocations: 225 kB / 484 MB, free: 1.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.1162, allocations: 51.41 kB / 484.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.1164, allocations: 209.8 kB / 484.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1164, allocations: 33.64 kB / 484.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.1165, allocations: 104.1 kB / 484.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.1165, allocations: 31.62 kB / 484.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.1165, allocations: 21.7 kB / 484.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1166, allocations: 322.8 kB / 484.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.108e-05/0.1167, allocations: 31.98 kB / 484.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.161e-05/0.1168, allocations: 19.98 kB / 484.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.117, allocations: 60.83 kB / 484.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.117, allocations: 0 / 484.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002057/0.1172, allocations: 102.2 kB / 485 MB, free: 448 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1172, allocations: 7.984 kB / 485 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1172, allocations: 4 kB / 485 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1172, allocations: 3.938 kB / 485 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1174, allocations: 19.98 kB / 485 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1174, allocations: 0 / 485 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.1174, allocations: 7.938 kB / 485.1 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1174, allocations: 0 / 485.1 MB, free: 404 kB / 350.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.0001065/0.1175, allocations: 125.8 kB / 485.2 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.1176, allocations: 19.8 kB / 485.2 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.1179, allocations: 123 kB / 485.3 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1179, allocations: 0 / 485.3 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1179, allocations: 0 / 485.3 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1179, allocations: 3.938 kB / 485.3 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/0.1184, allocations: 403.3 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1184, allocations: 4 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.232e-05/0.1185, allocations: 23.98 kB / 485.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1185, allocations: 3.938 kB / 485.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1185, allocations: 0 / 485.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1185, allocations: 4 kB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1185, allocations: 0 / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.1188, allocations: 212.2 kB / 486 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.1189, allocations: 88.95 kB / 486 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1189, allocations: 4 kB / 486 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.119, allocations: 7.984 kB / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.119, allocations: 4 kB / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.119, allocations: 3.938 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1191, allocations: 157.8 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1191, allocations: 0 / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1194, allocations: 27.98 kB / 486.2 MB, free: 15.09 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.00104/0.1205, allocations: 449.7 kB / 486.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1207, allocations: 67.89 kB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1207, allocations: 0 / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.722e-05/0.1208, allocations: 39.97 kB / 486.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1211, allocations: 15.94 kB / 486.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.1217, allocations: 306.6 kB / 487.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.1219, allocations: 0.7099 MB / 487.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.122, allocations: 11.44 kB / 487.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.122, allocations: 3.938 kB / 487.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of Templates: time 0.003714/0.1257, allocations: 1.722 MB / 489.5 MB, free: 11.88 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches