Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.001109/0.001109, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002157/0.003267, allocations: 457.8 kB / 10.45 MB, free: 240 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.001273/0.001273, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001584/0.002857, allocations: 475.6 kB / 11.82 MB, free: 2.344 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 1.198/1.198, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09795/1.296, 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.2855/0.2855, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02891/0.3144, allocations: 13.24 MB / 292.8 MB, free: 6.395 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 294.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.329e-05, allocations: 3.516 kB / 294.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.00371/0.003743, allocations: 1.82 MB / 296 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.005533, allocations: 1.013 MB / 297 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.005645, allocations: 3.938 kB / 297 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.005899, allocations: 43.72 kB / 297.1 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.006237, allocations: 99.41 kB / 297.2 MB, free: 2.008 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.006494, allocations: 83.55 kB / 297.2 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.006702, allocations: 111.6 kB / 297.4 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.006794, allocations: 4 kB / 297.4 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.006972, allocations: 79.8 kB / 297.4 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.551e-05/0.007068, allocations: 23.92 kB / 297.5 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.007086, allocations: 4 kB / 297.5 MB, free: 1.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.007202, allocations: 47.86 kB / 297.5 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.00726, allocations: 23.86 kB / 297.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.007297, allocations: 19.94 kB / 297.6 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.007511, allocations: 95.66 kB / 297.6 MB, free: 1.523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.007524, allocations: 0 / 297.6 MB, free: 1.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.007526, allocations: 0 / 297.6 MB, free: 1.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.007539, allocations: 0 / 297.6 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.0005843/0.008123, allocations: 344.9 kB / 298 MB, free: 1.164 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.008171, allocations: 8.922 kB / 298 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.008221, allocations: 8.938 kB / 298 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.008447, allocations: 154.2 kB / 298.2 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.008468, allocations: 4.375 kB / 298.2 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.008492, allocations: 4.375 kB / 298.2 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.00864, allocations: 65.77 kB / 298.2 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.00865, allocations: 192 / 298.2 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.008658, allocations: 384 / 298.2 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.008666, allocations: 3.938 kB / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.52e-05/0.008701, allocations: 15.92 kB / 298.2 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.008984, allocations: 158 kB / 298.4 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.009109, allocations: 85.28 kB / 298.5 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.009137, allocations: 16.84 kB / 298.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.00915, allocations: 4 kB / 298.5 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.00928, allocations: 66.16 kB / 298.6 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.009282, allocations: 0 / 298.6 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004275/0.00971, allocations: 125.4 kB / 298.7 MB, free: 384 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.009748, allocations: 51.41 kB / 298.7 MB, free: 320 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.009925, allocations: 177.3 kB / 298.9 MB, free: 128 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.009947, allocations: 25.7 kB / 298.9 MB, free: 96 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.01001, allocations: 92.38 kB / 299 MB, free: 16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.01006, allocations: 27.83 kB / 299.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.0101, allocations: 21.72 kB / 299.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.01022, allocations: 330.8 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.073e-05/0.01025, allocations: 6.828 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.726e-05/0.01029, allocations: 26.92 kB / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.257e-05/0.01035, allocations: 40.45 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01035, allocations: 0 / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001238/0.01048, allocations: 72.56 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.0105, allocations: 11.94 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.0105, allocations: 0 / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.01052, allocations: 3.984 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.01063, allocations: 31.89 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.01063, allocations: 0 / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.645e-05/0.01068, allocations: 4.375 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.01069, allocations: 0 / 299.6 MB, free: 15.39 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 0.0001044/0.01079, allocations: 124.6 kB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.01082, allocations: 7.938 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.01098, allocations: 91.05 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01099, allocations: 0 / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.01099, allocations: 0 / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01099, allocations: 0 / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.01133, allocations: 295.5 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.01133, allocations: 3.938 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.01139, allocations: 15.98 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.668e-05/0.0114, allocations: 3.953 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01141, allocations: 4 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.01142, allocations: 0 / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01142, allocations: 0 / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.01142, allocations: 4 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.01159, allocations: 219.9 kB / 300.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.01162, allocations: 4.031 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.0117, allocations: 8 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.01173, allocations: 7.984 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.872e-05/0.01175, allocations: 4 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.111e-05/0.01182, allocations: 55.58 kB / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01182, allocations: 0 / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.01208, allocations: 20 kB / 300.4 MB, free: 14.48 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.002222/0.0143, allocations: 0.6205 MB / 301.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.01443, allocations: 44.77 kB / 301.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.01444, allocations: 0 / 301.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.97e-05/0.0145, allocations: 41 kB / 301.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.01487, allocations: 186 kB / 301.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006565/0.01552, allocations: 220 kB / 301.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.469e-05/0.01558, allocations: 71.33 kB / 301.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.207e-05/0.01563, allocations: 8.984 kB / 301.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.568e-05/0.01573, allocations: 67.36 kB / 301.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of SimCode: time 1.523e-06/0.01573, allocations: 3.938 kB / 301.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of Templates: time 0.005276/0.021, allocations: 2.061 MB / 303.8 MB, free: 11.44 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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: 3.140151483938098]