Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.0007991/0.0007991, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.001911, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007009/0.0007009, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009546/0.001656, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9465/0.9465, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09421/1.041, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.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.2441/0.2441, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02277/0.2669, allocations: 13.23 MB / 292.8 MB, free: 6.367 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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 294.1 MB, free: 5.051 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.382e-05, allocations: 6.062 kB / 294.1 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003095/0.003119, allocations: 1.686 MB / 295.8 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.004141, allocations: 0.5485 MB / 296.4 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.486e-05/0.004206, allocations: 0 / 296.4 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.004353, allocations: 35.72 kB / 296.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.004575, allocations: 71.56 kB / 296.5 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.004884, allocations: 123.5 kB / 296.6 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.005039, allocations: 71.72 kB / 296.7 MB, free: 2.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.386e-05/0.005122, allocations: 8 kB / 296.7 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.005242, allocations: 47.89 kB / 296.7 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.005304, allocations: 15.92 kB / 296.7 MB, free: 2.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.005322, allocations: 4 kB / 296.7 MB, free: 2.426 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.052e-05/0.005402, allocations: 35.92 kB / 296.8 MB, free: 2.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.005444, allocations: 11.94 kB / 296.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.00547, allocations: 7.938 kB / 296.8 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.005623, allocations: 75.69 kB / 296.9 MB, free: 2.297 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.005634, allocations: 0 / 296.9 MB, free: 2.297 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005635, allocations: 0 / 296.9 MB, free: 2.297 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.005644, allocations: 0 / 296.9 MB, free: 2.297 MB / 282.7 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.0003924/0.006036, allocations: 293.4 kB / 297.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.006069, allocations: 8.922 kB / 297.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.006124, allocations: 4.938 kB / 297.2 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.006279, allocations: 133.6 kB / 297.3 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.006291, allocations: 8.297 kB / 297.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.006312, allocations: 4.375 kB / 297.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.986e-05/0.006412, allocations: 54.95 kB / 297.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.006421, allocations: 4.188 kB / 297.4 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.006428, allocations: 384 / 297.4 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.006433, allocations: 384 / 297.4 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.658e-05/0.00646, allocations: 11.92 kB / 297.4 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.006701, allocations: 159.1 kB / 297.5 MB, free: 1.555 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.006846, allocations: 33.33 kB / 297.6 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.006865, allocations: 16.86 kB / 297.6 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.00688, allocations: 0 / 297.6 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.006906, allocations: 38.64 kB / 297.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.006907, allocations: 4 kB / 297.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003119/0.007219, allocations: 81.48 kB / 297.7 MB, free: 1.355 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.00725, allocations: 55.41 kB / 297.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.007358, allocations: 150.7 kB / 297.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.00737, allocations: 25.7 kB / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.007403, allocations: 88.12 kB / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.007426, allocations: 19.78 kB / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.007461, allocations: 21.72 kB / 298 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.007549, allocations: 322.8 kB / 298.4 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.007564, allocations: 4 kB / 298.4 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.007576, allocations: 8 kB / 298.4 MB, free: 0.625 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/0.007615, allocations: 23.61 kB / 298.4 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.007616, allocations: 0 / 298.4 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.276e-05/0.007689, allocations: 49.94 kB / 298.4 MB, free: 0.543 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.007701, allocations: 4 kB / 298.5 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.007706, allocations: 3.938 kB / 298.5 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.007718, allocations: 4 kB / 298.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.007782, allocations: 15.98 kB / 298.5 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.007784, allocations: 0 / 298.5 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.576e-05/0.00781, allocations: 4 kB / 298.5 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.007815, allocations: 0 / 298.5 MB, free: 0.5117 MB / 282.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 (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 6.264e-05/0.007878, allocations: 124.6 kB / 298.6 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.007904, allocations: 4 kB / 298.6 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.00801, allocations: 70.06 kB / 298.7 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.008011, allocations: 0 / 298.7 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.008013, allocations: 0 / 298.7 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.008015, allocations: 0 / 298.7 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.008245, allocations: 206.8 kB / 298.9 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.008246, allocations: 0 / 298.9 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.378e-05/0.0083, allocations: 12 kB / 298.9 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.008312, allocations: 11.88 kB / 298.9 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.008313, allocations: 4 kB / 298.9 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.008321, allocations: 11.94 kB / 298.9 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.008323, allocations: 0 / 298.9 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008324, allocations: 0 / 298.9 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.008437, allocations: 139.5 kB / 299 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.008453, allocations: 3.938 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.008513, allocations: 15.92 kB / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.008535, allocations: 288 / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.00854, allocations: 192 / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.993e-05/0.008579, allocations: 27.67 kB / 299.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.00858, allocations: 4 kB / 299.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.008793, allocations: 23.92 kB / 299.1 MB, free: 15.8 MB / 298.7 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.001489/0.01028, allocations: 0.5381 MB / 299.7 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.015e-05/0.01035, allocations: 24.86 kB / 299.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.01036, allocations: 0 / 299.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.459e-05/0.01038, allocations: 20.78 kB / 299.7 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.01055, allocations: 78.05 kB / 299.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.0109, allocations: 187.4 kB / 300 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.955e-05/0.01093, allocations: 59.34 kB / 300 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.62e-05/0.01096, allocations: 8 kB / 300 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.011, allocations: 59.36 kB / 300.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.011, allocations: 0 / 300.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of Templates: time 0.002472/0.01348, allocations: 1.272 MB / 301.4 MB, free: 13.8 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7292722184211016]