Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.0009244/0.0009244, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001294/0.002218, allocations: 449.7 kB / 10.37 MB, free: 324 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.001123/0.001123, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.002259, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9884/0.9884, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08613/1.075, allocations: 53.86 MB / 243.8 MB, free: 14.91 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.2731/0.2731, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02523/0.2983, allocations: 13.23 MB / 292.6 MB, free: 6.488 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 294 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.373e-05, allocations: 2.312 kB / 294 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001869/0.001883, allocations: 1.798 MB / 295.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.002984, allocations: 1.027 MB / 296.8 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.003049, allocations: 0 / 296.8 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.003225, allocations: 47.69 kB / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.003412, allocations: 87.55 kB / 296.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.003563, allocations: 83.53 kB / 297 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.003703, allocations: 99.7 kB / 297.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.431e-05/0.003777, allocations: 8 kB / 297.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.00389, allocations: 87.73 kB / 297.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.00396, allocations: 23.92 kB / 297.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.003973, allocations: 4 kB / 297.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.87e-05/0.004052, allocations: 47.91 kB / 297.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.004094, allocations: 23.92 kB / 297.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.004127, allocations: 15.94 kB / 297.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.004278, allocations: 91.61 kB / 297.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-05/0.004293, allocations: 0 / 297.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004294, allocations: 0 / 297.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.004307, allocations: 0 / 297.4 MB, free: 1.656 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.0004204/0.004728, allocations: 345 kB / 297.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.004759, allocations: 12.92 kB / 297.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.004788, allocations: 4.938 kB / 297.8 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.004931, allocations: 154.2 kB / 297.9 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.004945, allocations: 384 / 297.9 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.004962, allocations: 4.375 kB / 297.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.803e-05/0.00506, allocations: 61.77 kB / 298 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.005067, allocations: 192 / 298 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-06/0.005074, allocations: 4.312 kB / 298 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.005079, allocations: 7.938 kB / 298 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.596e-05/0.005105, allocations: 11.92 kB / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.005294, allocations: 170 kB / 298.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.812e-05/0.005382, allocations: 81.3 kB / 298.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.005401, allocations: 12.84 kB / 298.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.005412, allocations: 4 kB / 298.3 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.825e-05/0.005501, allocations: 58.22 kB / 298.3 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.005502, allocations: 3.938 kB / 298.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000276/0.005778, allocations: 117.5 kB / 298.4 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.005807, allocations: 59.34 kB / 298.5 MB, free: 460 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.005902, allocations: 177.3 kB / 298.7 MB, free: 268 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.005915, allocations: 25.7 kB / 298.7 MB, free: 236 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/0.005945, allocations: 100.1 kB / 298.8 MB, free: 132 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.005968, allocations: 23.84 kB / 298.8 MB, free: 108 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.005997, allocations: 25.7 kB / 298.8 MB, free: 76 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.006085, allocations: 322.8 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.006102, allocations: 7.203 kB / 299.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.369e-05/0.006126, allocations: 30.62 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.09e-05/0.006167, allocations: 40.55 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.006169, allocations: 8 kB / 299.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.11e-05/0.00624, allocations: 76.47 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.006252, allocations: 7.938 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.006256, allocations: 0 / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.006264, allocations: 3.984 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.396e-05/0.006328, allocations: 23.92 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.006331, allocations: 0 / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.622e-05/0.006357, allocations: 4 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.006362, allocations: 0 / 299.3 MB, free: 15.53 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.257e-05/0.006424, allocations: 124.6 kB / 299.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.006436, allocations: 15.97 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.362e-05/0.00653, allocations: 79.62 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006531, allocations: 0 / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006533, allocations: 0 / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.006536, allocations: 0 / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.006726, allocations: 291.4 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.006729, allocations: 7.875 kB / 299.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-05/0.006759, allocations: 15.98 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.00677, allocations: 11.95 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.006772, allocations: 32 / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.006777, allocations: 4 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.00678, allocations: 4 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006781, allocations: 0 / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.375e-05/0.006875, allocations: 222.6 kB / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.006889, allocations: 4 kB / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.609e-05/0.006925, allocations: 4 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.006948, allocations: 7.984 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.006958, allocations: 0 / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.766e-05/0.006995, allocations: 51.64 kB / 300.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006996, allocations: 0 / 300.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001382/0.007134, allocations: 28 kB / 300.2 MB, free: 14.61 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.001371/0.008504, allocations: 0.6133 MB / 300.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.157e-05/0.008596, allocations: 48.75 kB / 300.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.008602, allocations: 4 kB / 300.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.626e-05/0.008629, allocations: 20.8 kB / 300.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.008801, allocations: 39.91 kB / 300.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.009213, allocations: 232 kB / 301.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.508e-05/0.009249, allocations: 67.33 kB / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.457e-05/0.009283, allocations: 17.09 kB / 301.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.009344, allocations: 71.36 kB / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.009344, allocations: 0 / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of Templates: time 0.003631/0.01298, allocations: 2.044 MB / 303.3 MB, free: 11.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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: 2.873978956602514]