Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.0008028/0.0008028, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001154/0.001957, 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.001004/0.001004, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009141/0.001918, 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.9758/0.9758, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1008/1.077, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.2803/0.2803, allocations: 34.88 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02747/0.3078, allocations: 13.23 MB / 292.8 MB, free: 6.402 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.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 294.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.556e-05, allocations: 5.531 kB / 294.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.001938/0.001954, allocations: 1.816 MB / 296 MB, free: 3.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.003116, allocations: 1.017 MB / 297 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.288e-05/0.003189, allocations: 3.938 kB / 297 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.003378, allocations: 47.69 kB / 297.1 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.003588, allocations: 99.42 kB / 297.2 MB, free: 2.008 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.003769, allocations: 83.53 kB / 297.3 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.003915, allocations: 103.7 kB / 297.4 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.874e-05/0.003984, allocations: 11.98 kB / 297.4 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.004095, allocations: 79.81 kB / 297.4 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.004163, allocations: 23.91 kB / 297.5 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.004177, allocations: 4 kB / 297.5 MB, free: 1.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.908e-05/0.004256, allocations: 47.86 kB / 297.5 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.004304, allocations: 23.88 kB / 297.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.004336, allocations: 15.94 kB / 297.6 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.004487, allocations: 99.66 kB / 297.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.004497, allocations: 0 / 297.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.4e-07/0.004497, allocations: 0 / 297.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.004506, allocations: 0 / 297.7 MB, free: 1.523 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003966/0.004902, allocations: 348.9 kB / 298 MB, free: 1.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.004931, allocations: 8.922 kB / 298 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.004961, allocations: 8.922 kB / 298 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.005103, allocations: 150.1 kB / 298.2 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.005117, allocations: 8.375 kB / 298.2 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.005135, allocations: 384 / 298.2 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.992e-05/0.005225, allocations: 65.75 kB / 298.2 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.005233, allocations: 4.188 kB / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.00524, allocations: 384 / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.005245, allocations: 3.938 kB / 298.2 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.192e-05/0.005267, allocations: 11.94 kB / 298.3 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.005461, allocations: 177.9 kB / 298.4 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.334e-05/0.005544, allocations: 81.3 kB / 298.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.005566, allocations: 12.86 kB / 298.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.005576, allocations: 0 / 298.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.985e-05/0.005675, allocations: 74.12 kB / 298.6 MB, free: 500 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.005676, allocations: 0 / 298.6 MB, free: 500 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002866/0.005963, allocations: 113.5 kB / 298.7 MB, free: 380 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.00599, allocations: 55.41 kB / 298.8 MB, free: 312 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.006094, allocations: 180.2 kB / 298.9 MB, free: 116 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.006109, allocations: 33.7 kB / 299 MB, free: 76 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.006153, allocations: 92.11 kB / 299.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.00618, allocations: 31.72 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.006208, allocations: 21.72 kB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.006293, allocations: 326.8 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.006308, allocations: 6.828 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.21e-05/0.00633, allocations: 25.7 kB / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.09e-05/0.006371, allocations: 44.45 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.006372, allocations: 7.938 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.801e-05/0.00644, allocations: 68.56 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.006453, allocations: 11.94 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.006458, allocations: 3.984 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.006467, allocations: 0 / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.284e-05/0.00653, allocations: 19.94 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.006534, allocations: 0 / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.006561, allocations: 8.375 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.006571, allocations: 3.984 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.041e-05/0.006631, allocations: 116.7 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.006648, allocations: 19.92 kB / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.467e-05/0.006742, allocations: 71.08 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.006745, allocations: 4 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.006746, allocations: 0 / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.006749, allocations: 0 / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.006961, allocations: 295.5 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.006963, allocations: 3.938 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.00699, allocations: 12 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.007002, allocations: 15.89 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.007004, allocations: 4.031 kB / 300.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-06/0.00701, allocations: 0 / 300.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.007012, allocations: 7.984 kB / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007013, allocations: 0 / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.838e-05/0.007112, allocations: 220.2 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.007127, allocations: 4 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.708e-05/0.007164, allocations: 0 / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.007191, allocations: 11.98 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.007202, allocations: 4 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.812e-05/0.00725, allocations: 56.64 kB / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00725, allocations: 4 kB / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001475/0.007398, allocations: 27.92 kB / 300.5 MB, free: 14.45 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001441/0.008838, allocations: 0.6199 MB / 301.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.008965, allocations: 44.83 kB / 301.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/0.008978, allocations: 4 kB / 301.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.957e-05/0.009027, allocations: 33 kB / 301.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.009297, allocations: 180.4 kB / 301.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.009793, allocations: 239.9 kB / 301.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.404e-05/0.009837, allocations: 71.34 kB / 301.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.91e-05/0.009876, allocations: 17.16 kB / 301.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.009947, allocations: 67.36 kB / 301.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of SimCode: time 1.372e-06/0.009948, allocations: 0 / 301.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of Templates: time 0.003831/0.01378, allocations: 2.05 MB / 303.8 MB, free: 11.41 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.919898989610374]