Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001301/0.001301, allocations: 105.2 kB / 19.8 MB, free: 2.516 MB / 14.72 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.001671/0.001671, allocations: 215.9 kB / 23 MB, free: 5.609 MB / 14.72 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 1.543/1.543, allocations: 230.2 MB / 256.2 MB, free: 8.566 MB / 206.1 MB " [Timeout remaining time 178] 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.2626/0.2626, allocations: 46.9 MB / 359.4 MB, free: 4.898 MB / 286.1 MB " [Timeout remaining time 179] 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 79.8 kB / 0.4947 GB, free: 8.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.4775, allocations: 65.98 MB / 0.5591 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003698/0.4812, allocations: 1.648 MB / 0.5607 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.4823, allocations: 0.5537 MB / 0.5613 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.4824, allocations: 0 / 0.5613 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.4827, allocations: 75.77 kB / 0.5613 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.483, allocations: 103.6 kB / 0.5614 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.4833, allocations: 99.06 kB / 0.5615 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.4835, allocations: 83.81 kB / 0.5616 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.4836, allocations: 18.66 kB / 0.5616 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.336e-05/0.4837, allocations: 35.84 kB / 0.5617 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.4838, allocations: 59.8 kB / 0.5617 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.4838, allocations: 4 kB / 0.5617 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.484, allocations: 43.98 kB / 0.5618 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.628e-05/0.484, allocations: 23.91 kB / 0.5618 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.4841, allocations: 31.75 kB / 0.5618 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.4843, allocations: 103.2 kB / 0.5619 GB, free: 2.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4843, allocations: 4 kB / 0.5619 GB, free: 2.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4843, allocations: 3.938 kB / 0.5619 GB, free: 2.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.4843, allocations: 0 / 0.5619 GB, free: 2.203 MB / 398.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.0006818/0.485, allocations: 418.7 kB / 0.5623 GB, free: 1.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.485, allocations: 8.031 kB / 0.5623 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.4851, allocations: 12.84 kB / 0.5623 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.4854, allocations: 200.9 kB / 0.5625 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.4854, allocations: 384 / 0.5625 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.4854, allocations: 8.375 kB / 0.5625 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.4856, allocations: 62.16 kB / 0.5626 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.4856, allocations: 192 / 0.5626 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.4856, allocations: 3.938 kB / 0.5626 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4856, allocations: 7.938 kB / 0.5626 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.821e-05/0.4857, allocations: 23.98 kB / 0.5626 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.4862, allocations: 296.8 kB / 0.5629 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.4863, allocations: 46.5 kB / 0.563 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.457e-05/0.4864, allocations: 20.84 kB / 0.563 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.4864, allocations: 0 / 0.563 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.4864, allocations: 34.64 kB / 0.563 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.4864, allocations: 0 / 0.563 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001001/0.4874, allocations: 221.3 kB / 0.5632 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.4875, allocations: 59.39 kB / 0.5633 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.4878, allocations: 210.3 kB / 0.5635 GB, free: 416 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.4878, allocations: 29.7 kB / 0.5635 GB, free: 380 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.4879, allocations: 108 kB / 0.5636 GB, free: 268 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.84e-05/0.488, allocations: 31.73 kB / 0.5636 GB, free: 236 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.488, allocations: 25.72 kB / 0.5637 GB, free: 204 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00031/0.4884, allocations: 330.8 kB / 0.564 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.4884, allocations: 19.98 kB / 0.564 GB, free: 15.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.922e-05/0.4885, allocations: 23.98 kB / 0.564 GB, free: 15.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.4887, allocations: 60.77 kB / 0.5641 GB, free: 15.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4887, allocations: 0 / 0.5641 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002062/0.4889, allocations: 109.8 kB / 0.5642 GB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4889, allocations: 4 kB / 0.5642 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4889, allocations: 0 / 0.5642 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.4889, allocations: 4 kB / 0.5642 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.489, allocations: 19.98 kB / 0.5642 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.489, allocations: 0 / 0.5642 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.216e-05/0.4891, allocations: 4 kB / 0.5642 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.4891, allocations: 11.98 kB / 0.5642 GB, free: 15.61 MB / 414.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 0.0001355/0.4892, allocations: 129.7 kB / 0.5643 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.4893, allocations: 19.84 kB / 0.5644 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003956/0.4897, allocations: 119 kB / 0.5645 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4897, allocations: 0 / 0.5645 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4897, allocations: 0 / 0.5645 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4897, allocations: 0 / 0.5645 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006292/0.4903, allocations: 419.2 kB / 0.5649 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4903, allocations: 0 / 0.5649 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.209e-05/0.4904, allocations: 19.94 kB / 0.5649 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.4904, allocations: 0 / 0.5649 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.4904, allocations: 15.92 kB / 0.5649 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4904, allocations: 0 / 0.5649 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4904, allocations: 0 / 0.5649 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.4908, allocations: 200.4 kB / 0.5651 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.4908, allocations: 89.02 kB / 0.5652 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.4908, allocations: 3.938 kB / 0.5652 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.4909, allocations: 4 kB / 0.5652 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.491, allocations: 15.92 kB / 0.5652 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.491, allocations: 0 / 0.5652 GB, free: 14.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000217/0.4912, allocations: 172.2 kB / 0.5654 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4912, allocations: 0 / 0.5654 GB, free: 14.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.4914, allocations: 20 kB / 0.5654 GB, free: 14.29 MB / 414.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.001746/0.4932, allocations: 463.7 kB / 0.5658 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.4934, allocations: 59.95 kB / 0.5659 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4934, allocations: 0 / 0.5659 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.432e-05/0.4935, allocations: 35.92 kB / 0.5659 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.4939, allocations: 15.98 kB / 0.5659 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005931/0.4945, allocations: 266.7 kB / 0.5662 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.4949, allocations: 0.7079 MB / 0.5669 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.1e-05/0.4949, allocations: 20.59 kB / 0.5669 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.495, allocations: 15.44 kB / 0.5669 GB, free: 12.82 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.495, allocations: 0 / 0.5669 GB, free: 12.82 MB / 414.1 MB Notification: Performance of Templates: time 0.005831/0.5008, allocations: 1.381 MB / 0.5683 GB, free: 11.45 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.469042864628136]