Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001106, 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.001117/0.001117, 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.323/1.323, allocations: 227.4 MB / 246.9 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 83.52 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.112, allocations: 62.43 MB / 479.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003254/0.1153, allocations: 1.708 MB / 481.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1163, allocations: 0.5494 MB / 482.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.1164, allocations: 0 / 482.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.1167, allocations: 31.84 kB / 482.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.117, allocations: 67.81 kB / 482.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.1172, allocations: 79.84 kB / 482.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.1174, allocations: 83.77 kB / 482.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1175, allocations: 19.98 kB / 482.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.4e-05/0.1176, allocations: 35.84 kB / 482.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.152e-05/0.1177, allocations: 35.84 kB / 482.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.1177, allocations: 4 kB / 482.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1178, allocations: 51.91 kB / 482.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.1179, allocations: 11.94 kB / 482.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.118, allocations: 35.73 kB / 482.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1181, allocations: 76.16 kB / 482.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1181, allocations: 4 kB / 482.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1181, allocations: 3.938 kB / 482.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.1181, allocations: 0 / 482.7 MB, free: 2.934 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004971/0.1186, allocations: 411.1 kB / 483.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1187, allocations: 8.875 kB / 483.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.1187, allocations: 12.75 kB / 483.1 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.1189, allocations: 204.1 kB / 483.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.119, allocations: 384 / 483.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.119, allocations: 16.27 kB / 483.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1192, allocations: 65.8 kB / 483.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1192, allocations: 4 kB / 483.4 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1192, allocations: 4 kB / 483.4 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1192, allocations: 4 kB / 483.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.1193, allocations: 43.95 kB / 483.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.1198, allocations: 312.7 kB / 483.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.1199, allocations: 62.55 kB / 483.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.12, allocations: 28.84 kB / 483.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.12, allocations: 0 / 483.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.12, allocations: 34.56 kB / 483.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.595e-06/0.12, allocations: 112 / 483.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001049/0.1211, allocations: 309.5 kB / 484.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.1211, allocations: 55.39 kB / 484.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.1213, allocations: 157.2 kB / 484.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1213, allocations: 29.7 kB / 484.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.1214, allocations: 108 kB / 484.5 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.1214, allocations: 35.45 kB / 484.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.1215, allocations: 29.7 kB / 484.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1216, allocations: 326.8 kB / 484.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.1217, allocations: 39.98 kB / 485 MB, free: 480 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.498e-05/0.1218, allocations: 35.97 kB / 485 MB, free: 444 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.122, allocations: 96.58 kB / 485.1 MB, free: 348 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.122, allocations: 0 / 485.1 MB, free: 348 kB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002548/0.1222, allocations: 141.4 kB / 485.2 MB, free: 200 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1223, allocations: 7.938 kB / 485.2 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1223, allocations: 0 / 485.2 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1223, allocations: 0 / 485.2 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1224, allocations: 23.98 kB / 485.3 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1224, allocations: 4 kB / 485.3 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.835e-05/0.1225, allocations: 7.984 kB / 485.3 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.1225, allocations: 0 / 485.3 MB, free: 156 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 (13): * Single equations (assignments): 13 * 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 9.161e-05/0.1226, allocations: 125.8 kB / 485.4 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.1226, allocations: 15.84 kB / 485.4 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.123, allocations: 158.5 kB / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.123, allocations: 3.938 kB / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.123, allocations: 0 / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.123, allocations: 3.984 kB / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006813/0.1237, allocations: 486.9 kB / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1237, allocations: 0 / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.152e-05/0.1238, allocations: 23.98 kB / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1238, allocations: 0 / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1239, allocations: 8 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.1239, allocations: 0 / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1239, allocations: 0 / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.1242, allocations: 248.2 kB / 486.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.1242, allocations: 85.02 kB / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.1242, allocations: 4 kB / 486.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.1243, allocations: 4 kB / 486.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.1244, allocations: 7.984 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.1244, allocations: 8 kB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.286e-05/0.1245, allocations: 131.2 kB / 486.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1245, allocations: 3.938 kB / 486.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1248, allocations: 31.98 kB / 486.6 MB, free: 14.72 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 (13): * Single equations (assignments): 13 * 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.1258, allocations: 449.3 kB / 487 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.126, allocations: 95.89 kB / 487.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1261, allocations: 0 / 487.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.1262, allocations: 59.84 kB / 487.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1265, allocations: 19.98 kB / 487.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.1271, allocations: 311 kB / 487.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.1274, allocations: 0.7043 MB / 488.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/0.1274, allocations: 23.44 kB / 488.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1274, allocations: 0 / 488.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of Templates: time 0.003635/0.1311, allocations: 1.904 MB / 490.1 MB, free: 11.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches