Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001551/0.001551, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001903/0.001903, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.9 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2121/0.2121, allocations: 46.11 MB / 344.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 72.97 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1126, allocations: 62.44 MB / 479.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.00302/0.1156, allocations: 1.711 MB / 481.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000963/0.1166, allocations: 0.5534 MB / 482.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.915e-05/0.1167, allocations: 7.938 kB / 482.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.1169, allocations: 31.91 kB / 482.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.1172, allocations: 71.73 kB / 482.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.1175, allocations: 91.83 kB / 482.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1177, allocations: 91.75 kB / 482.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1178, allocations: 28 kB / 482.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.424e-05/0.1179, allocations: 31.84 kB / 482.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.231e-05/0.118, allocations: 35.84 kB / 482.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.118, allocations: 4 kB / 482.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.617e-05/0.1181, allocations: 43.97 kB / 482.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.1182, allocations: 19.92 kB / 482.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.1182, allocations: 31.73 kB / 482.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.1183, allocations: 92.09 kB / 482.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1184, allocations: 0 / 482.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1184, allocations: 7.938 kB / 482.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1184, allocations: 0 / 482.8 MB, free: 2.875 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005028/0.1189, allocations: 399.1 kB / 483.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1189, allocations: 8.875 kB / 483.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.119, allocations: 12.78 kB / 483.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.1192, allocations: 200.1 kB / 483.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1192, allocations: 12.36 kB / 483.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.1192, allocations: 4.375 kB / 483.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.1194, allocations: 85.48 kB / 483.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1194, allocations: 4 kB / 483.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1194, allocations: 4 kB / 483.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1194, allocations: 0 / 483.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.1196, allocations: 43.95 kB / 483.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.12, allocations: 336.6 kB / 483.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1202, allocations: 62.5 kB / 483.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.008e-05/0.1203, allocations: 28.84 kB / 483.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1203, allocations: 0 / 483.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.1203, allocations: 34.56 kB / 484 MB, free: 1.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.1203, allocations: 0 / 484 MB, free: 1.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001066/0.1214, allocations: 329.5 kB / 484.3 MB, free: 1.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.1214, allocations: 55.41 kB / 484.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1216, allocations: 165.3 kB / 484.5 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1216, allocations: 33.7 kB / 484.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.1217, allocations: 100 kB / 484.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.1217, allocations: 43.38 kB / 484.7 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.1218, allocations: 29.7 kB / 484.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1219, allocations: 322.8 kB / 485 MB, free: 412 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.122, allocations: 43.97 kB / 485.1 MB, free: 368 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.634e-05/0.1221, allocations: 52.03 kB / 485.1 MB, free: 316 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1223, allocations: 108.8 kB / 485.2 MB, free: 204 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1224, allocations: 0 / 485.2 MB, free: 204 kB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002738/0.1226, allocations: 153.4 kB / 485.4 MB, free: 44 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1227, allocations: 7.938 kB / 485.4 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1227, allocations: 3.984 kB / 485.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1227, allocations: 0 / 485.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1228, allocations: 31.98 kB / 485.4 MB, free: 0 / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1228, allocations: 0 / 485.4 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/0.1229, allocations: 12.05 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1229, allocations: 4 kB / 485.4 MB, free: 15.98 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 (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.99e-05/0.123, allocations: 125.8 kB / 485.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.1231, allocations: 19.69 kB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.1234, allocations: 181.8 kB / 485.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1234, allocations: 4 kB / 485.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1235, allocations: 3.938 kB / 485.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1235, allocations: 3.984 kB / 485.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.1241, allocations: 499 kB / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1241, allocations: 0 / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.582e-05/0.1242, allocations: 35.89 kB / 486.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1242, allocations: 0 / 486.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1242, allocations: 8 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1242, allocations: 0 / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1242, allocations: 0 / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.1246, allocations: 252.2 kB / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.1246, allocations: 89.02 kB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.1246, allocations: 3.938 kB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.1247, allocations: 11.98 kB / 486.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.1248, allocations: 11.98 kB / 486.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.1248, allocations: 4 kB / 486.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.933e-05/0.1249, allocations: 127.2 kB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1249, allocations: 0 / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1251, allocations: 20 kB / 486.8 MB, free: 14.5 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.001017/0.1262, allocations: 456.2 kB / 487.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.1264, allocations: 110.8 kB / 487.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1265, allocations: 4 kB / 487.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.1266, allocations: 67.89 kB / 487.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.1269, allocations: 19.98 kB / 487.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.1275, allocations: 335 kB / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.1278, allocations: 0.7122 MB / 488.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.1278, allocations: 19.42 kB / 488.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1278, allocations: 0 / 488.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of Templates: time 0.003684/0.1315, allocations: 2.011 MB / 490.5 MB, free: 10.88 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches