Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001016, allocations: 88.25 kB / 22.22 MB, free: 2.277 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 169.2 kB / 25.61 MB, free: 8.574 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9602/0.9602, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1693/0.1693, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.309e-05, allocations: 8.547 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002073/0.002096, allocations: 1.673 MB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006652/0.002762, allocations: 0.5408 MB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.00283, allocations: 4 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.003069, allocations: 87.62 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.003314, allocations: 115.5 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.00353, allocations: 99.69 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.003684, allocations: 103.7 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.003785, allocations: 19.97 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.569e-05/0.003851, allocations: 51.89 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.159e-05/0.003932, allocations: 55.86 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.003948, allocations: 8 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.601e-05/0.004024, allocations: 47.91 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.004066, allocations: 27.86 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.004092, allocations: 23.92 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.004251, allocations: 103.5 kB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.004256, allocations: 7.984 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004257, allocations: 0 / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.004264, allocations: 0 / 383 MB, free: 19.75 MB / 314.7 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.0003208/0.004585, allocations: 459.7 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.004616, allocations: 12.02 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.004648, allocations: 24.84 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.928e-05/0.004747, allocations: 148.3 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.004755, allocations: 4.375 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.004773, allocations: 4.375 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.544e-05/0.004859, allocations: 78.86 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.004869, allocations: 4.188 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.004875, allocations: 384 / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.00488, allocations: 384 / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.736e-05/0.004907, allocations: 19.92 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.005119, allocations: 292.2 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.998e-05/0.005179, allocations: 55.03 kB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.005196, allocations: 11.69 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.005213, allocations: 8 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.005229, allocations: 41.27 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.00523, allocations: 4 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004866/0.005717, allocations: 216.6 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.005737, allocations: 55.41 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.891e-05/0.005826, allocations: 244.1 kB / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.181e-06/0.005832, allocations: 29.7 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.017e-05/0.005872, allocations: 166.8 kB / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.005894, allocations: 39.75 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.005924, allocations: 39.28 kB / 384.9 MB, free: 17.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.533e-05/0.00597, allocations: 0.504 MB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.005986, allocations: 15.92 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.006002, allocations: 12 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.4e-05/0.006046, allocations: 55.61 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.006047, allocations: 0 / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.136e-05/0.006128, allocations: 89.59 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.006139, allocations: 11.98 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.006144, allocations: 0 / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.006153, allocations: 0 / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-05/0.006219, allocations: 31.92 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.006222, allocations: 0 / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.006242, allocations: 11.94 kB / 385.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.006247, allocations: 0 / 385.6 MB, free: 16.9 MB / 314.7 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 4.578e-05/0.006293, allocations: 164.5 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.006316, allocations: 15.91 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.006442, allocations: 134.7 kB / 385.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.006449, allocations: 0 / 385.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.00645, allocations: 0 / 385.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.006454, allocations: 0 / 385.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.006691, allocations: 404.2 kB / 386.3 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.006692, allocations: 0 / 386.3 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.006739, allocations: 23.98 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.006742, allocations: 0 / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.00675, allocations: 8 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.006751, allocations: 0 / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006753, allocations: 3.938 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.00688, allocations: 255.4 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.00689, allocations: 11.94 kB / 386.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.006901, allocations: 4 kB / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.793e-05/0.006939, allocations: 7.984 kB / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.006963, allocations: 12.02 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.006968, allocations: 11.94 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.641e-05/0.007015, allocations: 185.6 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007015, allocations: 0 / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000178/0.007193, allocations: 31.92 kB / 386.9 MB, free: 15.58 MB / 314.7 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.0008963/0.008089, allocations: 426.3 kB / 387.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.833e-05/0.008188, allocations: 55.66 kB / 387.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.008189, allocations: 3.938 kB / 387.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.00822, allocations: 39.61 kB / 387.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.008443, allocations: 27.44 kB / 387.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.008741, allocations: 270.6 kB / 387.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.87e-05/0.00877, allocations: 79.19 kB / 387.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.952e-05/0.008809, allocations: 16.47 kB / 387.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.008858, allocations: 90.25 kB / 387.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.008859, allocations: 4 kB / 387.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of Templates: time 0.003134/0.01199, allocations: 1.743 MB / 389.6 MB, free: 12.98 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3736009569838643]