Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,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.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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.CombiTable1Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, 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.001456/0.001456, 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.359/1.359, allocations: 227.4 MB / 246.9 MB, free: 9.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2087/0.2087, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 81.14 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1119, allocations: 62.44 MB / 479.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003156/0.1151, allocations: 1.676 MB / 481.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009916/0.1161, allocations: 0.5417 MB / 482.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.1162, allocations: 0 / 482.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.1165, allocations: 79.83 kB / 482.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.1168, allocations: 83.72 kB / 482.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.1171, allocations: 107.8 kB / 482.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.1173, allocations: 71.83 kB / 482.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.599e-05/0.1174, allocations: 19.97 kB / 482.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.547e-05/0.1175, allocations: 31.86 kB / 482.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1176, allocations: 63.75 kB / 482.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1176, allocations: 0 / 482.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.891e-05/0.1177, allocations: 43.98 kB / 482.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.1178, allocations: 19.92 kB / 482.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.732e-05/0.1178, allocations: 43.66 kB / 482.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.118, allocations: 71.91 kB / 482.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.118, allocations: 0 / 482.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.118, allocations: 0 / 482.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.118, allocations: 3.938 kB / 482.8 MB, free: 2.832 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.0004813/0.1185, allocations: 419.2 kB / 483.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1185, allocations: 12.88 kB / 483.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.1186, allocations: 8.844 kB / 483.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.1188, allocations: 200.8 kB / 483.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.1188, allocations: 384 / 483.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.1188, allocations: 4.375 kB / 483.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.119, allocations: 57.75 kB / 483.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.119, allocations: 0 / 483.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.119, allocations: 0 / 483.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.119, allocations: 7.984 kB / 483.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1191, allocations: 27.98 kB / 483.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.1196, allocations: 312.6 kB / 483.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.1197, allocations: 46.5 kB / 483.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.1198, allocations: 16.94 kB / 483.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1198, allocations: 4 kB / 483.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1198, allocations: 38.56 kB / 483.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1198, allocations: 0 / 483.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009381/0.1208, allocations: 237.4 kB / 484.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.1208, allocations: 51.41 kB / 484.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.121, allocations: 222.8 kB / 484.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1211, allocations: 29.64 kB / 484.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.1211, allocations: 104.1 kB / 484.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.1212, allocations: 23.56 kB / 484.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.1212, allocations: 21.72 kB / 484.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1213, allocations: 330.8 kB / 484.9 MB, free: 496 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.036e-05/0.1214, allocations: 31.98 kB / 484.9 MB, free: 464 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.1215, allocations: 35.97 kB / 485 MB, free: 428 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.1217, allocations: 68.83 kB / 485 MB, free: 356 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1217, allocations: 4 kB / 485 MB, free: 352 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002481/0.122, allocations: 105.6 kB / 485.2 MB, free: 240 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.122, allocations: 8 kB / 485.2 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.122, allocations: 4 kB / 485.2 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.122, allocations: 3.984 kB / 485.2 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1221, allocations: 19.88 kB / 485.2 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1221, allocations: 4 kB / 485.2 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.1222, allocations: 7.922 kB / 485.2 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1222, allocations: 7.984 kB / 485.2 MB, free: 184 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 9.526e-05/0.1223, allocations: 129.8 kB / 485.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.1224, allocations: 11.81 kB / 485.3 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.1227, allocations: 135.3 kB / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1227, allocations: 3.984 kB / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1227, allocations: 0 / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1227, allocations: 3.938 kB / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.1232, allocations: 423.3 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.1233, allocations: 4 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.1233, allocations: 19.92 kB / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1234, allocations: 3.938 kB / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1234, allocations: 4 kB / 485.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1234, allocations: 0 / 485.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1234, allocations: 0 / 485.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.1237, allocations: 216.2 kB / 486.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.1237, allocations: 92.94 kB / 486.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.1237, allocations: 4 kB / 486.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.1238, allocations: 8 kB / 486.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.1239, allocations: 11.92 kB / 486.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.1239, allocations: 7.938 kB / 486.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.124, allocations: 164.7 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.124, allocations: 4 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1243, allocations: 20 kB / 486.4 MB, free: 14.83 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.00105/0.1253, allocations: 449.4 kB / 486.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.1256, allocations: 75.89 kB / 487 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1256, allocations: 0 / 487 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.874e-05/0.1257, allocations: 39.97 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1261, allocations: 23.92 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.1266, allocations: 326.4 kB / 487.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.1269, allocations: 0.7121 MB / 488.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.127, allocations: 15.44 kB / 488.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of SimCode: time 5.92e-07/0.127, allocations: 4 kB / 488.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of Templates: time 0.00359/0.1306, allocations: 1.808 MB / 489.9 MB, free: 11.48 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches