Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 115.8 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2385/0.2385, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 75.41 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1183, allocations: 62.44 MB / 479.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003305/0.1216, allocations: 1.657 MB / 481.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.1235, allocations: 1.132 MB / 482.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.1236, allocations: 0 / 482.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.1238, allocations: 27.84 kB / 482.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.1242, allocations: 67.83 kB / 482.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.1245, allocations: 79.84 kB / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.1246, allocations: 59.84 kB / 482.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1248, allocations: 19.97 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.1248, allocations: 23.88 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.125, allocations: 39.77 kB / 482.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.125, allocations: 4 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.1252, allocations: 95.95 kB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.1253, allocations: 15.97 kB / 482.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.1253, allocations: 23.81 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.1255, allocations: 135.6 kB / 482.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1256, allocations: 4 kB / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1256, allocations: 0 / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1256, allocations: 0 / 482.9 MB, free: 2.223 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.0005245/0.1261, allocations: 395.4 kB / 483.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1261, allocations: 8.031 kB / 483.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.1262, allocations: 8.938 kB / 483.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.1264, allocations: 192.1 kB / 483.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1264, allocations: 8.375 kB / 483.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.1264, allocations: 384 / 483.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1266, allocations: 71.45 kB / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1266, allocations: 0 / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1266, allocations: 0 / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1266, allocations: 4 kB / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.949e-05/0.1267, allocations: 23.98 kB / 483.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.1271, allocations: 276.9 kB / 483.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.1273, allocations: 46.5 kB / 483.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.1274, allocations: 12.86 kB / 483.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.1274, allocations: 8 kB / 483.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.1275, allocations: 34.64 kB / 483.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.1275, allocations: 0 / 483.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005683/0.128, allocations: 145.2 kB / 484.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.1281, allocations: 77.11 kB / 484.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.1283, allocations: 141.8 kB / 484.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.1283, allocations: 37.64 kB / 484.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.1284, allocations: 100.1 kB / 484.4 MB, free: 464 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.1284, allocations: 19.7 kB / 484.4 MB, free: 444 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.1285, allocations: 21.7 kB / 484.5 MB, free: 416 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1286, allocations: 318.8 kB / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.797e-05/0.1287, allocations: 15.98 kB / 484.8 MB, free: 72 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-05/0.1287, allocations: 37.7 kB / 484.8 MB, free: 28 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.1289, allocations: 49.06 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1289, allocations: 4 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002004/0.1291, allocations: 81.66 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1292, allocations: 4 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1292, allocations: 0 / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1292, allocations: 0 / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.1293, allocations: 16.03 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1293, allocations: 0 / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.859e-05/0.1293, allocations: 7.984 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.1294, allocations: 3.938 kB / 485 MB, free: 15.85 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 9.349e-05/0.1295, allocations: 113.8 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.1295, allocations: 11.84 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.1298, allocations: 89.95 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1298, allocations: 7.984 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1298, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1298, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.1303, allocations: 354.3 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1303, allocations: 0 / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.1304, allocations: 19.98 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1304, allocations: 0 / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1304, allocations: 4 kB / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1304, allocations: 3.938 kB / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1304, allocations: 0 / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.1307, allocations: 179.6 kB / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.1307, allocations: 77.17 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.1307, allocations: 4 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.1308, allocations: 7.938 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.1309, allocations: 19.92 kB / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1309, allocations: 0 / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.835e-05/0.131, allocations: 121.1 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.131, allocations: 0 / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003047/0.1313, allocations: 36 kB / 486 MB, free: 14.72 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.001215/0.1325, allocations: 489.7 kB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.1328, allocations: 47.91 kB / 486.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1328, allocations: 4 kB / 486.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.807e-05/0.1329, allocations: 27.92 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.1333, allocations: 22.92 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.1338, allocations: 189.4 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.1341, allocations: 0.6924 MB / 487.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.579e-05/0.1342, allocations: 7.984 kB / 487.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.1342, allocations: 23.42 kB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1342, allocations: 0 / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of Templates: time 0.005043/0.1393, allocations: 1.74 MB / 489.2 MB, free: 11.61 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches